- AAC_FILE_EXTENSION - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
-
- abandonedBeforeReadyCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The number of playbacks which were abandoned before they were ready to play.
- absoluteStreamPosition - Variable in class com.google.android.exoplayer2.upstream.DataSpec
-
The absolute position of the data in the full stream.
- AC3_FILE_EXTENSION - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
-
- Ac3Extractor - Class in com.google.android.exoplayer2.extractor.ts
-
Extracts data from (E-)AC-3 bitstreams.
- Ac3Extractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
-
Creates a new extractor for AC-3 bitstreams.
- Ac3Reader - Class in com.google.android.exoplayer2.extractor.ts
-
Parses a continuous (E-)AC-3 byte stream and extracts individual samples.
- Ac3Reader() - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac3Reader
-
Constructs a new reader for (E-)AC-3 elementary streams.
- Ac3Reader(String) - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac3Reader
-
Constructs a new reader for (E-)AC-3 elementary streams.
- Ac3Util - Class in com.google.android.exoplayer2.audio
-
Utility methods for parsing Dolby TrueHD and (E-)AC-3 syncframes.
- Ac3Util.SyncFrameInfo - Class in com.google.android.exoplayer2.audio
-
Holds sample format information as presented by a syncframe header.
- Ac3Util.SyncFrameInfo.StreamType - Annotation Type in com.google.android.exoplayer2.audio
-
AC3 stream types.
- AC40_SYNCWORD - Static variable in class com.google.android.exoplayer2.audio.Ac4Util
-
- AC41_SYNCWORD - Static variable in class com.google.android.exoplayer2.audio.Ac4Util
-
- AC4_FILE_EXTENSION - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
-
- Ac4Extractor - Class in com.google.android.exoplayer2.extractor.ts
-
Extracts data from AC-4 bitstreams.
- Ac4Extractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac4Extractor
-
Creates a new extractor for AC-4 bitstreams.
- Ac4Reader - Class in com.google.android.exoplayer2.extractor.ts
-
Parses a continuous AC-4 byte stream and extracts individual samples.
- Ac4Reader() - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac4Reader
-
Constructs a new reader for AC-4 elementary streams.
- Ac4Reader(String) - Constructor for class com.google.android.exoplayer2.extractor.ts.Ac4Reader
-
Constructs a new reader for AC-4 elementary streams.
- Ac4Util - Class in com.google.android.exoplayer2.audio
-
Utility methods for parsing AC-4 frames, which are access units in AC-4 bitstreams.
- Ac4Util.SyncFrameInfo - Class in com.google.android.exoplayer2.audio
-
Holds sample format information as presented by a syncframe header.
- accessibilityChannel - Variable in class com.google.android.exoplayer2.Format
-
- accessibilityDescriptors - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
-
Accessibility descriptors in the adaptation set.
- acquire() - Method in interface com.google.android.exoplayer2.drm.DrmSession
-
Increments the reference count.
- acquire() - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- acquire() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
-
- acquire() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
Increments the reference count.
- acquire() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- acquireExoMediaDrm(UUID) - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.AppManagedProvider
-
- acquireExoMediaDrm(UUID) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm.Provider
-
Returns an
ExoMediaDrm instance with an incremented reference count.
- acquirePlaceholderSession(Looper, int) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
- acquirePlaceholderSession(Looper, int) - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager
-
Returns a
DrmSession that does not execute key requests, with an incremented reference
count.
- acquireSession(Looper, DrmInitData) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
- acquireSession(Looper, DrmInitData) - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager
-
- Action - Class in com.google.android.exoplayer2.testutil
-
Base class for actions to perform during playback tests.
- Action(String, String) - Constructor for class com.google.android.exoplayer2.testutil.Action
-
- action - Variable in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData.Segment
-
- Action.ClearVideoSurface - Class in com.google.android.exoplayer2.testutil
-
- Action.ExecuteRunnable - Class in com.google.android.exoplayer2.testutil
-
- Action.PlayUntilPosition - Class in com.google.android.exoplayer2.testutil
-
Schedules a play action to be executed, waits until the player reaches the specified position,
and pauses the player again.
- Action.PrepareSource - Class in com.google.android.exoplayer2.testutil
-
- Action.Seek - Class in com.google.android.exoplayer2.testutil
-
- Action.SendMessages - Class in com.google.android.exoplayer2.testutil
-
- Action.SetAudioAttributes - Class in com.google.android.exoplayer2.testutil
-
- Action.SetPlaybackParameters - Class in com.google.android.exoplayer2.testutil
-
- Action.SetPlayWhenReady - Class in com.google.android.exoplayer2.testutil
-
- Action.SetRendererDisabled - Class in com.google.android.exoplayer2.testutil
-
- Action.SetRepeatMode - Class in com.google.android.exoplayer2.testutil
-
- Action.SetShuffleModeEnabled - Class in com.google.android.exoplayer2.testutil
-
- Action.SetVideoSurface - Class in com.google.android.exoplayer2.testutil
-
- Action.Stop - Class in com.google.android.exoplayer2.testutil
-
- Action.ThrowPlaybackException - Class in com.google.android.exoplayer2.testutil
-
Throws a playback exception on the playback thread.
- Action.WaitForIsLoading - Class in com.google.android.exoplayer2.testutil
-
Waits for a specified loading state, returning either immediately or after a call to Player.EventListener#onLoadingChanged(boolean).
- Action.WaitForPlaybackState - Class in com.google.android.exoplayer2.testutil
-
Waits for a specified playback state, returning either immediately or after a call to Player.EventListener#onPlayerStateChanged(boolean, int).
- Action.WaitForPlayWhenReady - Class in com.google.android.exoplayer2.testutil
-
Waits for a specified playWhenReady value, returning either immediately or after a call to
Player.EventListener#onPlayerStateChanged(boolean, int).
- Action.WaitForPositionDiscontinuity - Class in com.google.android.exoplayer2.testutil
-
Waits for Player.EventListener#onPositionDiscontinuity(int).
- Action.WaitForSeekProcessed - Class in com.google.android.exoplayer2.testutil
-
Waits for Player.EventListener#onSeekProcessed().
- Action.WaitForTimelineChanged - Class in com.google.android.exoplayer2.testutil
-
Waits for Player.EventListener#onTimelineChanged(Timeline, int).
- ACTION_ADD_DOWNLOAD - Static variable in class com.google.android.exoplayer2.offline.DownloadService
-
Adds a new download.
- ACTION_FAST_FORWARD - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
The action which fast forwards.
- ACTION_INIT - Static variable in class com.google.android.exoplayer2.offline.DownloadService
-
Starts a download service to resume any ongoing downloads.
- ACTION_NEXT - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
The action which skips to the next window.
- ACTION_PAUSE - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
The action which pauses playback.
- ACTION_PAUSE_DOWNLOADS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
-
Pauses all downloads.
- ACTION_PLAY - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
The action which starts playback.
- ACTION_PREVIOUS - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
The action which skips to the previous window.
- ACTION_REMOVE_ALL_DOWNLOADS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
-
Removes all downloads.
- ACTION_REMOVE_DOWNLOAD - Static variable in class com.google.android.exoplayer2.offline.DownloadService
-
Removes a download.
- ACTION_RESUME_DOWNLOADS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
-
- ACTION_REWIND - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
The action which rewinds.
- ACTION_SET_REQUIREMENTS - Static variable in class com.google.android.exoplayer2.offline.DownloadService
-
Sets the requirements that need to be met for downloads to progress.
- ACTION_SET_STOP_REASON - Static variable in class com.google.android.exoplayer2.offline.DownloadService
-
Sets the stop reason for one or all downloads.
- ACTION_STOP - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
The action which stops playback.
- ActionFileUpgradeUtil - Class in com.google.android.exoplayer2.offline
-
- ActionFileUpgradeUtil.DownloadIdProvider - Interface in com.google.android.exoplayer2.offline
-
Provides download IDs during action file upgrade.
- ACTIONS - Static variable in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
-
- ACTIONS - Static variable in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
-
- ActionSchedule - Class in com.google.android.exoplayer2.testutil
-
Schedules a sequence of
Actions for execution during a test.
- ActionSchedule.Builder - Class in com.google.android.exoplayer2.testutil
-
- ActionSchedule.Callback - Interface in com.google.android.exoplayer2.testutil
-
Callback to notify listener that the action schedule has finished.
- ActionSchedule.PlayerRunnable - Class in com.google.android.exoplayer2.testutil
-
Provides a wrapper for a
Runnable which has access to the player.
- ActionSchedule.PlayerTarget - Class in com.google.android.exoplayer2.testutil
-
Provides a wrapper for a
PlayerMessage.Target which has access to the player when handling messages.
- AD_STATE_AVAILABLE - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
State for an ad that has a URL but has not yet been played.
- AD_STATE_ERROR - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
State for an ad that could not be loaded.
- AD_STATE_PLAYED - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
State for an ad that was played in full.
- AD_STATE_SKIPPED - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
State for an ad that was skipped.
- AD_STATE_UNAVAILABLE - Static variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
State for an ad that does not yet have a URL.
- AdaptationSet - Class in com.google.android.exoplayer2.source.dash.manifest
-
Represents a set of interchangeable encoded versions of a media content component.
- AdaptationSet(int, int, List<Representation>, List<Descriptor>, List<Descriptor>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
-
- adaptationSets - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
-
The adaptation sets belonging to the period.
- adaptive - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Whether the decoder supports seamless resolution switches.
- ADAPTIVE_NOT_SEAMLESS - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
-
The
Renderer can adapt between formats, but may suffer a brief discontinuity
(~50-100ms) when adaptation occurs.
- ADAPTIVE_NOT_SUPPORTED - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
-
The
Renderer does not support adaptation between formats.
- ADAPTIVE_SEAMLESS - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
-
The
Renderer can seamlessly adapt between formats.
- ADAPTIVE_SUPPORT_MASK - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
-
- AdaptiveMediaSourceEventListener - Interface in com.google.android.exoplayer2.source
-
- AdaptiveTrackSelection - Class in com.google.android.exoplayer2.trackselection
-
A bandwidth based adaptive
TrackSelection, whose selected track is updated to be the one
of highest quality given the current network conditions and the state of the buffer.
- AdaptiveTrackSelection(TrackGroup, int[], BandwidthMeter) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
-
- AdaptiveTrackSelection(TrackGroup, int[], BandwidthMeter, long, long, long, long, float, float, long, Clock) - Constructor for class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
-
- AdaptiveTrackSelection.Factory - Class in com.google.android.exoplayer2.trackselection
-
- add(int, MediaDescriptionCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor.QueueDataAdapter
-
- add(String, Object) - Method in class com.google.android.exoplayer2.testutil.Dumper
-
- add(Dumper.Dumpable) - Method in class com.google.android.exoplayer2.testutil.Dumper
-
- add(String, byte[]) - Method in class com.google.android.exoplayer2.testutil.Dumper
-
- add(long) - Method in class com.google.android.exoplayer2.util.LongArray
-
Appends a value.
- add(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
-
Register a new task.
- add(long, V) - Method in class com.google.android.exoplayer2.util.TimedValueQueue
-
Associates the specified value with the specified timestamp.
- addAnalyticsListener(AnalyticsListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- addAudioDebugListener(AudioRendererEventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- addAudioLanguagesToSelection(String...) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
-
Convenience method to add selections of tracks for all specified audio languages.
- addAudioListener(AudioListener) - Method in interface com.google.android.exoplayer2.Player.AudioComponent
-
Adds a listener to receive audio events.
- addAudioListener(AudioListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- addCallback(VideoAdPlayer.VideoAdPlayerCallback) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- addDownload(DownloadRequest) - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Adds a download defined by the given request.
- addDownload(DownloadRequest, int) - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Adds a download defined by the given request and with the specified stop reason.
- addEventListener(Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
-
- addEventListener(Handler, MediaSourceEventListener) - Method in interface com.google.android.exoplayer2.source.MediaSource
-
- addEventListener(Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
-
Adds a listener to the event dispatcher.
- addEventListener(Handler, BandwidthMeter.EventListener) - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter
-
- addEventListener(Handler, BandwidthMeter.EventListener) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- addFlag(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
-
Adds the flag to this buffer's flags.
- addHandlerMessageAtTime(HandlerWrapper, int, long) - Method in class com.google.android.exoplayer2.testutil.AutoAdvancingFakeClock
-
- addHandlerMessageAtTime(HandlerWrapper, Runnable, long) - Method in class com.google.android.exoplayer2.testutil.FakeClock
-
Adds a handler post to list of pending messages.
- addHandlerMessageAtTime(HandlerWrapper, int, long) - Method in class com.google.android.exoplayer2.testutil.FakeClock
-
Adds an empty handler message to list of pending messages.
- addItems(MediaQueueItem...) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
Appends a sequence of items to the media queue.
- addItems(int, MediaQueueItem...) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
Inserts a sequence of items into the media queue.
- addListener(AnalyticsListener) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
Adds a listener for analytics events.
- addListener(Handler, DefaultDrmSessionEventListener) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
- addListener(Player.EventListener) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- addListener(DownloadManager.Listener) - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
- addListener(Player.EventListener) - Method in interface com.google.android.exoplayer2.Player
-
Register a listener to receive events from the player.
- addListener(Player.EventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- addListener(HlsPlaylistTracker.PlaylistEventListener) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
- addListener(HlsPlaylistTracker.PlaylistEventListener) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
-
Registers a listener to receive events from the playlist tracker.
- addListener(Player.EventListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- addListener(TimeBar.OnScrubListener) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- addListener(TimeBar.OnScrubListener) - Method in interface com.google.android.exoplayer2.ui.TimeBar
-
Adds a listener for scrubbing events.
- addListener(String, Cache.Listener) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Registers a listener to listen for changes to a given key.
- addListener(String, Cache.Listener) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- addListener(Handler, T) - Method in class com.google.android.exoplayer2.util.EventDispatcher
-
Adds a listener to the event dispatcher.
- addMediaSource(MediaSource) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- addMediaSource(MediaSource, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
Appends a
MediaSource to the playlist and executes a custom action on completion.
- addMediaSource(int, MediaSource) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- addMediaSource(int, MediaSource, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
Adds a
MediaSource to the playlist and executes a custom action on completion.
- addMediaSources(Collection<MediaSource>) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- addMediaSources(Collection<MediaSource>, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
Appends multiple
MediaSources to the playlist and executes a custom action on
completion.
- addMediaSources(int, Collection<MediaSource>) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- addMediaSources(int, Collection<MediaSource>, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
Adds multiple
MediaSources to the playlist and executes a custom action on completion.
- addMetadataOutput(MetadataOutput) - Method in interface com.google.android.exoplayer2.Player.MetadataComponent
-
- addMetadataOutput(MetadataOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- addSample(int, float) - Method in class com.google.android.exoplayer2.util.SlidingPercentile
-
Adds a new weighted value.
- addTextLanguagesToSelection(boolean, String...) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
-
Convenience method to add selections of tracks for all specified text languages.
- addTextOutput(TextOutput) - Method in interface com.google.android.exoplayer2.Player.TextComponent
-
Registers an output to receive text events.
- addTextOutput(TextOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- addTime(String, long) - Method in class com.google.android.exoplayer2.testutil.Dumper
-
- addTrackSelection(int, DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
-
Adds a selection of tracks to be downloaded.
- addTrackSelectionForSingleRenderer(int, int, DefaultTrackSelector.Parameters, List<DefaultTrackSelector.SelectionOverride>) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
-
Convenience method to add a selection of tracks to be downloaded for a single renderer.
- addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.BaseDataSource
-
- addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
- addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
-
- addTransferListener(TransferListener) - Method in interface com.google.android.exoplayer2.upstream.DataSource
-
- addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
-
- addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.DummyDataSource
-
- addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
-
- addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
-
- addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
-
- addTransferListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
-
- addVideoDebugListener(VideoRendererEventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- addVideoListener(VideoListener) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Adds a listener to receive video events.
- addVideoListener(VideoListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- addVisibilityListener(PlayerControlView.VisibilityListener) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
- addWithOverflowDefault(long, long, long) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the sum of two arguments, or a third argument if the result overflows.
- AdGroup() - Constructor for class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
-
Creates a new ad group with an unspecified number of ads.
- adGroupCount - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
The number of ad groups.
- adGroupIndex - Variable in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
-
If the media period is in an ad group, the index of the ad group in the period.
- adGroups - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
The ad groups.
- adGroupTimesUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
The times of ad groups, in microseconds.
- adIndexInAdGroup - Variable in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
-
If the media period is in an ad group, the index of the ad in its ad group in the period.
- adjustReleaseTime(long, long) - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseTimeHelper
-
Adjusts a frame release timestamp.
- adjustSampleTimestamp(long) - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
-
Offsets a timestamp in microseconds.
- adjustTsTimestamp(long) - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
-
Scales and offsets an MPEG-2 TS presentation timestamp considering wraparound.
- adPlaybackCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The number of ad playbacks.
- AdPlaybackState - Class in com.google.android.exoplayer2.source.ads
-
Represents ad group times relative to the start of the media and information on the state and
URIs of ads within each ad group.
- AdPlaybackState(long...) - Constructor for class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
Creates a new ad playback state with the specified ad group times.
- adPlaybackState - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
-
- AdPlaybackState.AdGroup - Class in com.google.android.exoplayer2.source.ads
-
Represents a group of ads, with information about their states.
- AdPlaybackState.AdState - Annotation Type in com.google.android.exoplayer2.source.ads
-
Represents the state of an ad in an ad group.
- adResumePositionUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
The position offset in the first unplayed ad at which to begin playback, in microseconds.
- AdsLoader - Interface in com.google.android.exoplayer2.source.ads
-
- AdsLoader.AdViewProvider - Interface in com.google.android.exoplayer2.source.ads
-
Provides views for the ad UI.
- AdsLoader.EventListener - Interface in com.google.android.exoplayer2.source.ads
-
Listener for ads loader events.
- AdsMediaSource - Class in com.google.android.exoplayer2.source.ads
-
A
MediaSource that inserts ads linearly with a provided content media source.
- AdsMediaSource(MediaSource, DataSource.Factory, AdsLoader, AdsLoader.AdViewProvider) - Constructor for class com.google.android.exoplayer2.source.ads.AdsMediaSource
-
Constructs a new source that inserts ads linearly with the content specified by contentMediaSource.
- AdsMediaSource(MediaSource, MediaSourceFactory, AdsLoader, AdsLoader.AdViewProvider) - Constructor for class com.google.android.exoplayer2.source.ads.AdsMediaSource
-
Constructs a new source that inserts ads linearly with the content specified by contentMediaSource.
- AdsMediaSource.AdLoadException - Exception in com.google.android.exoplayer2.source.ads
-
Wrapper for exceptions that occur while loading ads, which are notified via MediaSourceEventListener#onLoadError(int, MediaPeriodId, LoadEventInfo, MediaLoadData,
IOException, boolean).
- AdsMediaSource.AdLoadException.Type - Annotation Type in com.google.android.exoplayer2.source.ads
-
Types of ad load exceptions.
- AdtsExtractor - Class in com.google.android.exoplayer2.extractor.ts
-
Extracts data from AAC bit streams with ADTS framing.
- AdtsExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
-
Creates a new extractor for ADTS bitstreams.
- AdtsExtractor(int) - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
-
Creates a new extractor for ADTS bitstreams.
- AdtsExtractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.ts
-
Flags controlling the behavior of the extractor.
- AdtsReader - Class in com.google.android.exoplayer2.extractor.ts
-
Parses a continuous ADTS byte stream and extracts individual frames.
- AdtsReader(boolean) - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsReader
-
- AdtsReader(boolean, String) - Constructor for class com.google.android.exoplayer2.extractor.ts.AdtsReader
-
- advancePeekPosition(int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- advancePeekPosition(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- advancePeekPosition(int, boolean) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Advances the peek position by length bytes.
- advancePeekPosition(int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Advances the peek position by length bytes.
- advancePeekPosition(int, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
- advancePeekPosition(int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
- advanceTime(long) - Method in class com.google.android.exoplayer2.testutil.FakeClock
-
Advance timestamp of
FakeClock by the specified duration.
- advanceTo(long) - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Advances the read position to the keyframe before or at the specified time.
- advanceToEnd() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Advances the read position to the end of the queue.
- AesCipherDataSink - Class in com.google.android.exoplayer2.upstream.crypto
-
A wrapping
DataSink that encrypts the data being consumed.
- AesCipherDataSink(byte[], DataSink) - Constructor for class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSink
-
Create an instance whose write methods have the side effect of overwriting the input
data.
- AesCipherDataSink(byte[], DataSink, byte[]) - Constructor for class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSink
-
Create an instance whose write methods are free of side effects.
- AesCipherDataSource - Class in com.google.android.exoplayer2.upstream.crypto
-
A
DataSource that decrypts the data read from an upstream source.
- AesCipherDataSource(byte[], DataSource) - Constructor for class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
-
- AesFlushingCipher - Class in com.google.android.exoplayer2.upstream.crypto
-
A flushing variant of a AES/CTR/NoPadding
Cipher.
- AesFlushingCipher(int, byte[], long, long) - Constructor for class com.google.android.exoplayer2.upstream.crypto.AesFlushingCipher
-
- alignVideoSizeV21(int, int) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Returns the smallest video size greater than or equal to a specified size that also satisfies
the
MediaCodec's width and height alignment requirements.
- ALL_PLAYBACK_ACTIONS - Static variable in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
- allocate() - Method in interface com.google.android.exoplayer2.upstream.Allocator
-
- allocate() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
-
- Allocation - Class in com.google.android.exoplayer2.upstream
-
An allocation within a byte array.
- Allocation(byte[], int) - Constructor for class com.google.android.exoplayer2.upstream.Allocation
-
- Allocator - Interface in com.google.android.exoplayer2.upstream
-
A source of allocations.
- ALLOW_CAPTURE_BY_ALL - Static variable in class com.google.android.exoplayer2.C
-
- ALLOW_CAPTURE_BY_NONE - Static variable in class com.google.android.exoplayer2.C
-
- ALLOW_CAPTURE_BY_SYSTEM - Static variable in class com.google.android.exoplayer2.C
-
- allowAudioMixedChannelCountAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
Whether to allow adaptive audio selections containing mixed channel counts.
- allowAudioMixedMimeTypeAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
Whether to allow adaptive audio selections containing mixed MIME types.
- allowAudioMixedSampleRateAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
Whether to allow adaptive audio selections containing mixed sample rates.
- allowedCapturePolicy - Variable in class com.google.android.exoplayer2.audio.AudioAttributes
-
- allowMixedMimeAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- allowNonSeamlessAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- allowPassthrough(int, String) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
Returns whether encoded audio passthrough should be used for playing back the input format.
- allowVideoMixedMimeTypeAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
Whether to allow adaptive video selections containing mixed MIME types.
- allowVideoNonSeamlessAdaptiveness - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
Whether to allow adaptive video selections where adaptation may not be completely seamless.
- allSamplesAreSyncSamples(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Returns true if it is known that all samples in a stream of the given sample MIME type are
guaranteed to be sync samples (i.e.,
C.BUFFER_FLAG_KEY_FRAME is guaranteed to be set on
every sample).
- AmrExtractor - Class in com.google.android.exoplayer2.extractor.amr
-
Extracts data from the AMR containers format (either AMR or AMR-WB).
- AmrExtractor() - Constructor for class com.google.android.exoplayer2.extractor.amr.AmrExtractor
-
- AmrExtractor(int) - Constructor for class com.google.android.exoplayer2.extractor.amr.AmrExtractor
-
- AmrExtractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.amr
-
Flags controlling the behavior of the extractor.
- AnalyticsCollector - Class in com.google.android.exoplayer2.analytics
-
Data collector which is able to forward analytics events to
AnalyticsListeners by
listening to all available ExoPlayer listeners.
- AnalyticsCollector(Clock) - Constructor for class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
Creates an analytics collector.
- AnalyticsListener - Interface in com.google.android.exoplayer2.analytics
-
A listener for analytics events.
- AnalyticsListener.EventTime - Class in com.google.android.exoplayer2.analytics
-
Time information of an event.
- ANCHOR_TYPE_END - Static variable in class com.google.android.exoplayer2.text.Cue
-
Anchors the right (for horizontal positions) or bottom (for vertical positions) edge of the cue
box.
- ANCHOR_TYPE_MIDDLE - Static variable in class com.google.android.exoplayer2.text.Cue
-
Anchors the middle of the cue box.
- ANCHOR_TYPE_START - Static variable in class com.google.android.exoplayer2.text.Cue
-
Anchors the left (for horizontal positions) or top (for vertical positions) edge of the cue
box.
- ApicFrame - Class in com.google.android.exoplayer2.metadata.id3
-
APIC (Attached Picture) ID3 frame.
- ApicFrame(String, String, int, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.ApicFrame
-
- APP_ID_DEFAULT_RECEIVER - Static variable in class com.google.android.exoplayer2.ext.cast.DefaultCastOptionsProvider
-
App id of the Default Media Receiver app.
- APP_ID_DEFAULT_RECEIVER_WITH_DRM - Static variable in class com.google.android.exoplayer2.ext.cast.DefaultCastOptionsProvider
-
App id for receiver app with rudimentary support for DRM.
- appendReadAction(Runnable) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
-
Appends an action.
- appendReadData(byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
-
Appends to the underlying data.
- appendReadData(int) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
-
Appends a data segment of the specified length.
- appendReadError(IOException) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
-
Appends an error in the underlying data.
- APPLICATION_CAMERA_MOTION - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_CEA608 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_CEA708 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_DVBSUBS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_EMSG - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_EXIF - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_ICY - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_ID3 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_M3U8 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_MP4 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_MP4CEA608 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_MP4VTT - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_MPD - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_PGS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_RAWCC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_SCTE35 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_SS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_SUBRIP - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_TTML - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_TX3G - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_VOBSUB - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- APPLICATION_WEBM - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- apply(Action) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules an action.
- applyContentMetadataMutations(String, ContentMetadataMutations) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
- applyContentMetadataMutations(String, ContentMetadataMutations) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- applyPlaybackParameters(PlaybackParameters) - Method in interface com.google.android.exoplayer2.audio.DefaultAudioSink.AudioProcessorChain
-
Configures audio processors to apply the specified playback parameters immediately, returning
the new parameters, which may differ from those passed in.
- applyPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
-
- AppManagedProvider(ExoMediaDrm<T>) - Constructor for class com.google.android.exoplayer2.drm.ExoMediaDrm.AppManagedProvider
-
Creates an instance that provides the given
ExoMediaDrm.
- areEqual(Object, Object) - Static method in class com.google.android.exoplayer2.util.Util
-
- ASCII_NAME - Static variable in class com.google.android.exoplayer2.C
-
The name of the ASCII charset.
- ASPECT_RATIO_IDC_VALUES - Static variable in class com.google.android.exoplayer2.util.NalUnitUtil
-
Aspect ratios indexed by aspect_ratio_idc, in H.264 and H.265 SPSs.
- AspectRatioFrameLayout - Class in com.google.android.exoplayer2.ui
-
A
FrameLayout that resizes itself to match a specified aspect ratio.
- AspectRatioFrameLayout(Context) - Constructor for class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
- AspectRatioFrameLayout(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
- AspectRatioFrameLayout.AspectRatioListener - Interface in com.google.android.exoplayer2.ui
-
Listener to be notified about changes of the aspect ratios of this view.
- AspectRatioFrameLayout.ResizeMode - Annotation Type in com.google.android.exoplayer2.ui
-
- assertAdGroupCounts(Timeline, int...) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
-
- assertBehavior(ExtractorAsserts.ExtractorFactory, String) - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
-
Asserts that an extractor behaves correctly given valid input data.
- assertBehavior(ExtractorAsserts.ExtractorFactory, String, Context) - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
-
- assertBitmapsAreSimilar(Bitmap, Bitmap, double) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
-
Asserts whether actual bitmap is very similar to the expected bitmap at some quality level.
- assertCachedData(Cache, CacheAsserts.RequestSet) - Static method in class com.google.android.exoplayer2.testutil.CacheAsserts
-
Asserts that the cache contains necessary data for the requestSet.
- assertCachedData(Cache, FakeDataSet) - Static method in class com.google.android.exoplayer2.testutil.CacheAsserts
-
Asserts that the cache content is equal to the data in the fakeDataSet.
- assertCacheEmpty(Cache) - Static method in class com.google.android.exoplayer2.testutil.CacheAsserts
-
Asserts that the cache is empty.
- assertCompletedManifestLoads(Integer...) - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
-
Asserts that the media source reported completed loads via MediaSourceEventListener#onLoadCompleted(int, MediaPeriodId, LoadEventInfo, MediaLoadData) for
each specified window index and a null period id.
- assertCompletedMediaPeriodLoads(MediaSource.MediaPeriodId...) - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
-
- assertConsecutiveDroppedBufferLimit(String, DecoderCounters, int) - Static method in class com.google.android.exoplayer2.testutil.DecoderCountersUtil
-
- assertDataCached(Cache, DataSpec, byte[]) - Static method in class com.google.android.exoplayer2.testutil.CacheAsserts
-
Asserts that the cache contains the given data for dataSpec.
- assertDataSourceContent(DataSource, DataSpec, byte[], boolean) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
-
Asserts that data read from a
DataSource matches
expected.
- assertDroppedBufferLimit(String, DecoderCounters, int) - Static method in class com.google.android.exoplayer2.testutil.DecoderCountersUtil
-
- assertEmpty(Timeline) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
-
Assert that timeline is empty (i.e.
- assertEquals(FakeExtractorOutput) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
-
- assertEquals(FakeTrackOutput) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
-
- assertExtensionRendererCreated(Class<? extends Renderer>, int) - Static method in class com.google.android.exoplayer2.testutil.DefaultRenderersFactoryAsserts
-
- assertGetStreamKeysAndManifestFilterIntegration(MediaPeriodAsserts.FilterableManifestMediaPeriodFactory<T>, T) - Static method in class com.google.android.exoplayer2.testutil.MediaPeriodAsserts
-
- assertGetStreamKeysAndManifestFilterIntegration(MediaPeriodAsserts.FilterableManifestMediaPeriodFactory<T>, T, int, String) - Static method in class com.google.android.exoplayer2.testutil.MediaPeriodAsserts
-
- Assertions - Class in com.google.android.exoplayer2.util
-
Provides methods for asserting the truth of expressions and properties.
- ASSERTIONS_ENABLED - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
-
Whether the library was compiled with
Assertions
checks enabled.
- assertMediaPeriodCreated(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
-
Assert that a media period for the given id has been created.
- assertNextWindowIndices(Timeline, int, boolean, int...) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
-
Asserts that next window indices for each window depending on the repeat mode and the shuffle
mode are equal to the given sequence.
- assertNoPositionDiscontinuities() - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
-
Asserts that Player.EventListener#onPositionDiscontinuity(int) was not called.
- assertNoTimelineChange() - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
-
- assertOutput(Context, String) - Method in class com.google.android.exoplayer2.testutil.CapturingAudioSink
-
Asserts that dump of this sink is equal to expected dump which is read from dumpFile.
- assertOutput(ExtractorAsserts.ExtractorFactory, String, byte[], Context) - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
-
- assertOutput(Extractor, String, byte[], Context, boolean, boolean, boolean, boolean) - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
-
Asserts that extractor consumes sampleFile successfully and its output equals
to a prerecorded output dump file with the name sampleFile + "".
- assertOutput(Context, String) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
-
Asserts that dump of this
FakeExtractorOutput is equal to expected dump which is read
from
dumpFile.
- assertPeriodCounts(Timeline, int...) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
-
Asserts that period counts for each window are set correctly.
- assertPeriodDurations(Timeline, long...) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
-
Asserts that the durations of the periods in the
Timeline and the durations in the
given sequence are equal.
- assertPlayedPeriodIndices(Integer...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
-
Asserts that the indices of played periods is equal to the provided list of periods.
- assertPositionDiscontinuityReasonsEqual(Integer...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
-
Asserts that the discontinuity reasons reported by Player.EventListener#onPositionDiscontinuity(int) are equal to the provided values.
- assertPrepareAndReleaseAllPeriods() - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
-
- assertPreviousWindowIndices(Timeline, int, boolean, int...) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
-
Asserts that previous window indices for each window depending on the repeat mode and the
shuffle mode are equal to the given sequence.
- assertReadData(DataSource, DataSpec, byte[]) - Static method in class com.google.android.exoplayer2.testutil.CacheAsserts
-
Asserts that the read data from dataSource specified by dataSpec is equal to
expected or not.
- assertReleased() - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
-
Assert that the source and all periods have been released.
- assertRemoved(String, int) - Method in class com.google.android.exoplayer2.testutil.TestDownloadManagerListener
-
- assertSample(int, byte[], long, int, TrackOutput.CryptoData) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
-
- assertSampleCount(int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
-
- assertSkippedOutputBufferCount(String, DecoderCounters, int) - Static method in class com.google.android.exoplayer2.testutil.DecoderCountersUtil
-
- assertSniff(Extractor, FakeExtractorInput, boolean) - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
-
- assertState(String, int, int) - Method in class com.google.android.exoplayer2.testutil.TestDownloadManagerListener
-
- assertThrows(ExtractorAsserts.ExtractorFactory, String, Context, Class<? extends Throwable>) - Static method in class com.google.android.exoplayer2.testutil.ExtractorAsserts
-
- assertTimelineChange() - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
-
Asserts that the source has notified its listener of a single timeline change.
- assertTimelineChangeBlocking() - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
-
Asserts that the source notifies its listener of a single timeline change.
- assertTimelineChangeReasonsEqual(Integer...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
-
Asserts that the timeline change reasons reported by Player.EventListener#onTimelineChanged(Timeline, int) are equal to the provided timeline
change reasons.
- assertTimelinesEqual(Timeline...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
-
Asserts that the timelines reported by Player.EventListener#onTimelineChanged(Timeline,
int) are equal to the provided timelines.
- assertTotalBufferCount(String, DecoderCounters, int, int) - Static method in class com.google.android.exoplayer2.testutil.DecoderCountersUtil
-
- assertTrackGroupsEqual(TrackGroupArray) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
-
Asserts that the last track group array reported by Player.EventListener#onTracksChanged(TrackGroupArray, TrackSelectionArray) is equal to the
provided track group array.
- assertWindowIsDynamic(Timeline, boolean...) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
-
Asserts that window properties
Timeline.Window.isDynamic are set correctly.
- assertWindowTags(Timeline, Object...) - Static method in class com.google.android.exoplayer2.testutil.TimelineAsserts
-
Asserts that window tags are set correctly.
- AssetDataSource - Class in com.google.android.exoplayer2.upstream
-
- AssetDataSource(Context) - Constructor for class com.google.android.exoplayer2.upstream.AssetDataSource
-
- AssetDataSource.AssetDataSourceException - Exception in com.google.android.exoplayer2.upstream
-
Thrown when an
IOException is encountered reading a local asset.
- AssetDataSourceException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.AssetDataSource.AssetDataSourceException
-
- assetIdentifier - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
-
The asset identifier for this period, if one exists
- AtomicFile - Class in com.google.android.exoplayer2.util
-
A helper class for performing atomic operations on a file by creating a backup file until a write
has successfully completed.
- AtomicFile(File) - Constructor for class com.google.android.exoplayer2.util.AtomicFile
-
Create a new AtomicFile for a file located at the given File path.
- attemptMerge(RangedUri, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
-
Attempts to merge this
RangedUri with another and an optional common base uri.
- Attribute(int, int) - Constructor for class com.google.android.exoplayer2.util.GlUtil.Attribute
-
Creates a new GL attribute.
- AUDIO_AAC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_AC3 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_AC4 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_ALAC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_ALAW - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_AMR_NB - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_AMR_WB - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_DTS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_DTS_EXPRESS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_DTS_HD - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_E_AC3 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_E_AC3_JOC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_FLAC - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_FORMAT - Static variable in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
-
A generic audio
Format which can be used to set up media sources and renderers.
- AUDIO_MLAW - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_MP4 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_MPEG - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_MPEG_L1 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_MPEG_L2 - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_MSGSM - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_OPUS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_RAW - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_SESSION_ID_UNSET - Static variable in class com.google.android.exoplayer2.C
-
Represents an unset
AudioTrack session identifier.
- AUDIO_STREAM - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- AUDIO_STREAM_MASK - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- AUDIO_TRUEHD - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_UNKNOWN - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_VORBIS - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AUDIO_WEBM - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- AudioAttributes - Class in com.google.android.exoplayer2.audio
-
Attributes for audio playback, which configure the underlying platform
AudioTrack.
- AudioAttributes.Builder - Class in com.google.android.exoplayer2.audio
-
- AudioCapabilities - Class in com.google.android.exoplayer2.audio
-
Represents the set of audio formats that a device is capable of playing.
- AudioCapabilities(int[], int) - Constructor for class com.google.android.exoplayer2.audio.AudioCapabilities
-
Constructs new audio capabilities based on a set of supported encodings and a maximum channel
count.
- AudioCapabilitiesReceiver - Class in com.google.android.exoplayer2.audio
-
- AudioCapabilitiesReceiver(Context, AudioCapabilitiesReceiver.Listener) - Constructor for class com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver
-
- AudioCapabilitiesReceiver.Listener - Interface in com.google.android.exoplayer2.audio
-
Listener notified when audio capabilities change.
- AudioDecoderException - Exception in com.google.android.exoplayer2.audio
-
Thrown when an audio decoder error occurs.
- AudioDecoderException(String) - Constructor for exception com.google.android.exoplayer2.audio.AudioDecoderException
-
- AudioDecoderException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.audio.AudioDecoderException
-
- AUDIOFOCUS_GAIN - Static variable in class com.google.android.exoplayer2.C
-
- AUDIOFOCUS_GAIN_TRANSIENT - Static variable in class com.google.android.exoplayer2.C
-
- AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE - Static variable in class com.google.android.exoplayer2.C
-
- AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK - Static variable in class com.google.android.exoplayer2.C
-
- AUDIOFOCUS_NONE - Static variable in class com.google.android.exoplayer2.C
-
- AudioFormat(int, int, int) - Constructor for class com.google.android.exoplayer2.audio.AudioProcessor.AudioFormat
-
- audioFormatHistory - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
- audioGroupId - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
-
The AUDIO value as defined in the EXT-X-STREAM-INF tag, or null if the AUDIO attribute is not
present.
- audioGroupId - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
-
The audio rendition group referenced by this variant, or null.
- AudioListener - Interface in com.google.android.exoplayer2.audio
-
A listener for changes in audio configuration.
- AudioProcessor - Interface in com.google.android.exoplayer2.audio
-
Interface for audio processors, which take audio data as input and transform it, potentially
modifying its channel count, encoding and/or sample rate.
- AudioProcessor.AudioFormat - Class in com.google.android.exoplayer2.audio
-
PCM audio format that may be handled by an audio processor.
- AudioProcessor.UnhandledAudioFormatException - Exception in com.google.android.exoplayer2.audio
-
Exception thrown when a processor can't be configured for a given input audio format.
- AudioRendererEventListener - Interface in com.google.android.exoplayer2.audio
-
- AudioRendererEventListener.EventDispatcher - Class in com.google.android.exoplayer2.audio
-
- audios - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
-
The audio renditions declared by the playlist.
- audioSessionId(int) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
-
- AudioSink - Interface in com.google.android.exoplayer2.audio
-
A sink that consumes audio data.
- AudioSink.ConfigurationException - Exception in com.google.android.exoplayer2.audio
-
Thrown when a failure occurs configuring the sink.
- AudioSink.InitializationException - Exception in com.google.android.exoplayer2.audio
-
Thrown when a failure occurs initializing the sink.
- AudioSink.Listener - Interface in com.google.android.exoplayer2.audio
-
Listener for audio sink events.
- AudioSink.WriteException - Exception in com.google.android.exoplayer2.audio
-
Thrown when a failure occurs writing to the sink.
- AudioTrackScore(Format, DefaultTrackSelector.Parameters, int) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.AudioTrackScore
-
- audioTrackState - Variable in exception com.google.android.exoplayer2.audio.AudioSink.InitializationException
-
- audioTrackUnderrun(int, long, long) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
-
- AutoAdvancingFakeClock - Class in com.google.android.exoplayer2.testutil
-
FakeClock extension which automatically advances time whenever an empty message is
enqueued at a future time.
- AutoAdvancingFakeClock() - Constructor for class com.google.android.exoplayer2.testutil.AutoAdvancingFakeClock
-
- autoReturn - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
-
- autoReturn - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
-
- AuxEffectInfo - Class in com.google.android.exoplayer2.audio
-
Represents auxiliary effect information, which can be used to attach an auxiliary effect to an
underlying
AudioTrack.
- AuxEffectInfo(int, float) - Constructor for class com.google.android.exoplayer2.audio.AuxEffectInfo
-
Creates an instance with the given effect identifier and send level.
- availabilityStartTimeMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
The
availabilityStartTime value in milliseconds since epoch, or
C.TIME_UNSET if
not present.
- availNum - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
-
Holds the value of avail_num as defined in SCTE35, Section 9.3.3.
- availNum - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
-
Holds the value of avail_num as defined in SCTE35, Section 9.3.2.
- availsExpected - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
-
Holds the value of avails_expected as defined in SCTE35, Section 9.3.3.
- availsExpected - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
-
Holds the value of avails_expected as defined in SCTE35, Section 9.3.2.
- AvcConfig - Class in com.google.android.exoplayer2.video
-
AVC configuration data.
- C - Class in com.google.android.exoplayer2
-
Defines constants used by the library.
- C.AudioAllowedCapturePolicy - Annotation Type in com.google.android.exoplayer2
-
- C.AudioContentType - Annotation Type in com.google.android.exoplayer2
-
- C.AudioFlags - Annotation Type in com.google.android.exoplayer2
-
- C.AudioFocusGain - Annotation Type in com.google.android.exoplayer2
-
Audio focus types.
- C.AudioUsage - Annotation Type in com.google.android.exoplayer2
-
- C.BufferFlags - Annotation Type in com.google.android.exoplayer2
-
Flags which can apply to a buffer containing a media sample.
- C.ColorRange - Annotation Type in com.google.android.exoplayer2
-
Video color range.
- C.ColorSpace - Annotation Type in com.google.android.exoplayer2
-
Video colorspaces.
- C.ColorTransfer - Annotation Type in com.google.android.exoplayer2
-
Video color transfer characteristics.
- C.ContentType - Annotation Type in com.google.android.exoplayer2
-
Represents a streaming or other media type.
- C.CryptoMode - Annotation Type in com.google.android.exoplayer2
-
Crypto modes for a codec.
- C.Encoding - Annotation Type in com.google.android.exoplayer2
-
Represents an audio encoding, or an invalid or unset value.
- C.NetworkType - Annotation Type in com.google.android.exoplayer2
-
Network connection type.
- C.PcmEncoding - Annotation Type in com.google.android.exoplayer2
-
Represents a PCM audio encoding, or an invalid or unset value.
- C.Projection - Annotation Type in com.google.android.exoplayer2
-
Video projection types.
- C.RoleFlags - Annotation Type in com.google.android.exoplayer2
-
Track role flags.
- C.SelectionFlags - Annotation Type in com.google.android.exoplayer2
-
Track selection flags.
- C.StereoMode - Annotation Type in com.google.android.exoplayer2
-
The stereo mode for 360/3D/VR videos.
- C.StreamType - Annotation Type in com.google.android.exoplayer2
-
- C.VideoOutputMode - Annotation Type in com.google.android.exoplayer2
-
Video decoder output modes.
- C.VideoScalingMode - Annotation Type in com.google.android.exoplayer2
-
- C.WakeMode - Annotation Type in com.google.android.exoplayer2
-
Mode specifying whether the player should hold a WakeLock and a WifiLock.
- Cache - Interface in com.google.android.exoplayer2.upstream.cache
-
An interface for cache.
- cache(DataSpec, Cache, CacheKeyFactory, DataSource, CacheUtil.ProgressListener, AtomicBoolean) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheUtil
-
Caches the data defined by dataSpec, skipping already cached data.
- cache(DataSpec, Cache, CacheKeyFactory, CacheDataSource, byte[], PriorityTaskManager, int, CacheUtil.ProgressListener, AtomicBoolean, boolean) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheUtil
-
Caches the data defined by dataSpec while skipping already cached data.
- Cache.CacheException - Exception in com.google.android.exoplayer2.upstream.cache
-
Thrown when an error is encountered when writing data.
- Cache.Listener - Interface in com.google.android.exoplayer2.upstream.cache
-
Listener of
Cache events.
- CACHE_IGNORED_REASON_ERROR - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
Cache ignored due to a cache related error.
- CACHE_IGNORED_REASON_UNSET_LENGTH - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
Cache ignored due to a request with an unset length.
- CacheAsserts - Class in com.google.android.exoplayer2.testutil
-
Assertion methods for
Cache.
- CacheAsserts.RequestSet - Class in com.google.android.exoplayer2.testutil
-
Defines a set of data requests.
- CACHED_TO_END - Static variable in class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
-
- CacheDataSink - Class in com.google.android.exoplayer2.upstream.cache
-
Writes data into a cache.
- CacheDataSink(Cache, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink
-
- CacheDataSink(Cache, long, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSink
-
- CacheDataSink.CacheDataSinkException - Exception in com.google.android.exoplayer2.upstream.cache
-
Thrown when IOException is encountered when writing data into sink.
- CacheDataSinkException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.cache.CacheDataSink.CacheDataSinkException
-
- CacheDataSinkFactory - Class in com.google.android.exoplayer2.upstream.cache
-
- CacheDataSinkFactory(Cache, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSinkFactory
-
- CacheDataSinkFactory(Cache, long, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSinkFactory
-
- CacheDataSource - Class in com.google.android.exoplayer2.upstream.cache
-
- CacheDataSource(Cache, DataSource) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
Constructs an instance with default
DataSource and
DataSink instances for
reading and writing the cache.
- CacheDataSource(Cache, DataSource, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
Constructs an instance with default
DataSource and
DataSink instances for
reading and writing the cache.
- CacheDataSource(Cache, DataSource, DataSource, DataSink, int, CacheDataSource.EventListener) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
Constructs an instance with arbitrary
DataSource and
DataSink instances for
reading and writing the cache.
- CacheDataSource(Cache, DataSource, DataSource, DataSink, int, CacheDataSource.EventListener, CacheKeyFactory) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
Constructs an instance with arbitrary
DataSource and
DataSink instances for
reading and writing the cache.
- CacheDataSource.CacheIgnoredReason - Annotation Type in com.google.android.exoplayer2.upstream.cache
-
Reasons the cache may be ignored.
- CacheDataSource.EventListener - Interface in com.google.android.exoplayer2.upstream.cache
-
- CacheDataSource.Flags - Annotation Type in com.google.android.exoplayer2.upstream.cache
-
Flags controlling the CacheDataSource's behavior.
- CacheDataSourceFactory - Class in com.google.android.exoplayer2.upstream.cache
-
- CacheDataSourceFactory(Cache, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
-
- CacheDataSourceFactory(Cache, DataSource.Factory, int) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
-
- CacheDataSourceFactory(Cache, DataSource.Factory, DataSource.Factory, DataSink.Factory, int, CacheDataSource.EventListener) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
-
- CacheDataSourceFactory(Cache, DataSource.Factory, DataSource.Factory, DataSink.Factory, int, CacheDataSource.EventListener, CacheKeyFactory) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
-
- CachedRegionTracker - Class in com.google.android.exoplayer2.upstream.cache
-
Utility class for efficiently tracking regions of data that are stored in a
Cache
for a given cache key.
- CachedRegionTracker(Cache, String, ChunkIndex) - Constructor for class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
-
- CacheEvictor - Interface in com.google.android.exoplayer2.upstream.cache
-
Evicts data from a
Cache.
- CacheException(String) - Constructor for exception com.google.android.exoplayer2.upstream.cache.Cache.CacheException
-
- CacheException(Throwable) - Constructor for exception com.google.android.exoplayer2.upstream.cache.Cache.CacheException
-
- CacheException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.upstream.cache.Cache.CacheException
-
- CacheKeyFactory - Interface in com.google.android.exoplayer2.upstream.cache
-
Factory for cache keys.
- CacheSpan - Class in com.google.android.exoplayer2.upstream.cache
-
Defines a span of data that may or may not be cached (as indicated by
CacheSpan.isCached).
- CacheSpan(String, long, long) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
Creates a hole CacheSpan which isn't cached, has no last touch timestamp and no file
associated.
- CacheSpan(String, long, long, long, File) - Constructor for class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
Creates a CacheSpan.
- CacheUtil - Class in com.google.android.exoplayer2.upstream.cache
-
Caching related utility methods.
- CacheUtil.ProgressListener - Interface in com.google.android.exoplayer2.upstream.cache
-
Receives progress updates during cache operations.
- calculateNextSearchBytePosition(long, long, long, long, long, long) - Static method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.SeekOperationParams
-
Returns the next position in the stream to search for target frame, given [floorBytePosition,
ceilingBytePosition), with corresponding [floorTimePosition, ceilingTimePosition).
- calculateTargetBufferSize(Renderer[], TrackSelectionArray) - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
Calculate target buffer size in bytes based on the selected tracks.
- CameraMotionListener - Interface in com.google.android.exoplayer2.video.spherical
-
Listens camera motion.
- CameraMotionRenderer - Class in com.google.android.exoplayer2.video.spherical
-
A
Renderer that parses the camera motion track.
- CameraMotionRenderer() - Constructor for class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
-
- canAcquireSession(DrmInitData) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
- canAcquireSession(DrmInitData) - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager
-
Returns whether the manager is capable of acquiring a session for the given
DrmInitData.
- cancel() - Method in class com.google.android.exoplayer2.ext.jobdispatcher.JobDispatcherScheduler
-
Deprecated.
- cancel() - Method in class com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler
-
- cancel() - Method in interface com.google.android.exoplayer2.offline.Downloader
-
Cancels the download operation and prevents future download operations from running.
- cancel() - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloader
-
- cancel() - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
-
- cancel() - Method in class com.google.android.exoplayer2.PlayerMessage
-
Cancels the message delivery.
- cancel() - Method in class com.google.android.exoplayer2.scheduler.PlatformScheduler
-
- cancel() - Method in interface com.google.android.exoplayer2.scheduler.Scheduler
-
Cancels anything that was previously scheduled, or else does nothing.
- cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
-
- cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
-
- cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
-
- cancelLoad() - Method in class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
-
- cancelLoad() - Method in class com.google.android.exoplayer2.testutil.FakeMediaChunk
-
- cancelLoad() - Method in interface com.google.android.exoplayer2.upstream.Loader.Loadable
-
Cancels the load.
- cancelLoad() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
-
- cancelLoading() - Method in class com.google.android.exoplayer2.upstream.Loader
-
Cancels the current load.
- canKeepCodec(MediaCodec, MediaCodecInfo, Format, Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- canKeepCodec(Format, Format) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
Returns whether the existing decoder can be kept for a new format.
- canKeepCodec(MediaCodec, MediaCodecInfo, Format, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Determines whether the existing
MediaCodec can be kept for a new
Format, and if
it can whether it requires reconfiguration.
- canKeepCodec(MediaCodec, MediaCodecInfo, Format, Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- canKeepCodecWithFlush(Format, Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
Returns whether the codec can be flushed and reused when switching to a new format.
- canReadBits(int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Returns whether it's possible to read n bits starting from the current offset.
- canReadExpGolombCodedNum() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Returns whether it is possible to read an Exp-Golomb-coded integer starting from the current
offset.
- canReplace(DrmInitData.SchemeData) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
- canSelectFormat(Format, int, float, long) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
-
Called when updating the selected track to determine whether a candidate track can be selected.
- capabilities - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
The capabilities of the decoder, like the profiles/levels it supports, or null if not
known.
- capacity() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Returns the capacity of the array, which may be larger than the limit.
- captionGroupId - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
-
The CLOSED-CAPTIONS value as defined in the EXT-X-STREAM-INF tag, or null if the
CLOSED-CAPTIONS attribute is not present.
- captionGroupId - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
-
The caption rendition group referenced by this variant, or null.
- CaptionStyleCompat - Class in com.google.android.exoplayer2.text
-
- CaptionStyleCompat(int, int, int, int, int, Typeface) - Constructor for class com.google.android.exoplayer2.text.CaptionStyleCompat
-
- CaptionStyleCompat.EdgeType - Annotation Type in com.google.android.exoplayer2.text
-
The type of edge, which may be none.
- CapturingAudioSink - Class in com.google.android.exoplayer2.testutil
-
- CapturingAudioSink(AudioSink) - Constructor for class com.google.android.exoplayer2.testutil.CapturingAudioSink
-
- cascadeFrom(WebvttCssStyle) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- castNonNull(T) - Static method in class com.google.android.exoplayer2.util.Util
-
Casts a nullable variable to a non-null variable without runtime null check.
- castNonNullTypeArray(T[]) - Static method in class com.google.android.exoplayer2.util.Util
-
Casts a nullable type array to a non-null type array without runtime null check.
- CastPlayer - Class in com.google.android.exoplayer2.ext.cast
-
Player implementation that communicates with a Cast receiver app.
- CastPlayer(CastContext) - Constructor for class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- Cea608Decoder - Class in com.google.android.exoplayer2.text.cea
-
A
SubtitleDecoder for CEA-608 (also known as "line 21 captions" and "EIA-608").
- Cea608Decoder(String, int) - Constructor for class com.google.android.exoplayer2.text.cea.Cea608Decoder
-
- Cea708Decoder - Class in com.google.android.exoplayer2.text.cea
-
- Cea708Decoder(int, List<byte[]>) - Constructor for class com.google.android.exoplayer2.text.cea.Cea708Decoder
-
- Cea708InitializationData - Class in com.google.android.exoplayer2.text.cea
-
Initialization data for CEA-708 decoders.
- CeaUtil - Class in com.google.android.exoplayer2.text.cea
-
Utility methods for handling CEA-608/708 messages.
- ceilDivide(int, int) - Static method in class com.google.android.exoplayer2.util.Util
-
Divides a numerator by a denominator, returning the ceiled result.
- ceilDivide(long, long) - Static method in class com.google.android.exoplayer2.util.Util
-
Divides a numerator by a denominator, returning the ceiled result.
- CENC_TYPE_cbc1 - Static variable in class com.google.android.exoplayer2.C
-
"cbc1" scheme type name as defined in ISO/IEC 23001-7:2016.
- CENC_TYPE_cbcs - Static variable in class com.google.android.exoplayer2.C
-
"cbcs" scheme type name as defined in ISO/IEC 23001-7:2016.
- CENC_TYPE_cenc - Static variable in class com.google.android.exoplayer2.C
-
"cenc" scheme type name as defined in ISO/IEC 23001-7:2016.
- CENC_TYPE_cens - Static variable in class com.google.android.exoplayer2.C
-
"cens" scheme type name as defined in ISO/IEC 23001-7:2016.
- channelCount - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
-
The number of audio channels
- channelCount - Variable in class com.google.android.exoplayer2.audio.Ac4Util.SyncFrameInfo
-
The number of audio channels
- channelCount - Variable in class com.google.android.exoplayer2.audio.AudioProcessor.AudioFormat
-
The number of interleaved channels.
- channelCount - Variable in class com.google.android.exoplayer2.Format
-
The number of audio channels, or
Format.NO_VALUE if unknown or not applicable.
- channels - Variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
Number of audio channels in the frame.
- channels - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
-
- channels - Variable in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Number of audio channels.
- ChapterFrame - Class in com.google.android.exoplayer2.metadata.id3
-
Chapter information ID3 frame.
- ChapterFrame(String, int, int, long, long, Id3Frame[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.ChapterFrame
-
- chapterId - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
-
- ChapterTocFrame - Class in com.google.android.exoplayer2.metadata.id3
-
Chapter table of contents ID3 frame.
- ChapterTocFrame(String, boolean, boolean, String[], Id3Frame[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
-
- checkAndPeekStreamMarker(ExtractorInput) - Static method in class com.google.android.exoplayer2.extractor.FlacMetadataReader
-
Peeks the FLAC stream marker.
- checkAndReadFrameHeader(ParsableByteArray, FlacStreamMetadata, int, FlacFrameReader.SampleNumberHolder) - Static method in class com.google.android.exoplayer2.extractor.FlacFrameReader
-
Checks whether the given FLAC frame header is valid and, if so, reads it and writes the frame
first sample number in sampleNumberHolder.
- checkArgument(boolean) - Static method in class com.google.android.exoplayer2.util.Assertions
-
- checkArgument(boolean, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
-
- checkCleartextTrafficPermitted(Uri...) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns whether it may be possible to load the given URIs based on the network security
policy's cleartext traffic permissions.
- checkFrameHeaderFromPeek(ExtractorInput, FlacStreamMetadata, int, FlacFrameReader.SampleNumberHolder) - Static method in class com.google.android.exoplayer2.extractor.FlacFrameReader
-
Checks whether the given FLAC frame header is valid and, if so, writes the frame first sample
number in sampleNumberHolder.
- checkGlError() - Static method in class com.google.android.exoplayer2.util.GlUtil
-
- checkInBounds() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
-
Verifies that the iterator points to a valid element.
- checkIndex(int, int, int) - Static method in class com.google.android.exoplayer2.util.Assertions
-
- checkInitialization() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
Checks whether the cache was initialized successfully.
- checkMainThread() - Static method in class com.google.android.exoplayer2.util.Assertions
-
- checkNotEmpty(String) - Static method in class com.google.android.exoplayer2.util.Assertions
-
- checkNotEmpty(String, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
-
- checkNotNull(T) - Static method in class com.google.android.exoplayer2.util.Assertions
-
- checkNotNull(T, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
-
- checkRequirements(Context) - Method in class com.google.android.exoplayer2.scheduler.Requirements
-
Returns whether the requirements are met.
- checkState(boolean) - Static method in class com.google.android.exoplayer2.util.Assertions
-
- checkState(boolean, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
-
- checkStateNotNull(T) - Static method in class com.google.android.exoplayer2.util.Assertions
-
- checkStateNotNull(T, Object) - Static method in class com.google.android.exoplayer2.util.Assertions
-
- children - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
-
- Chunk - Class in com.google.android.exoplayer2.source.chunk
-
An abstract base class for
Loader.Loadable implementations that load chunks of data required
for the playback of streams.
- Chunk(DataSource, DataSpec, int, Format, int, Object, long, long) - Constructor for class com.google.android.exoplayer2.source.chunk.Chunk
-
- chunk - Variable in class com.google.android.exoplayer2.source.chunk.ChunkHolder
-
The chunk.
- chunkCount - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- ChunkExtractorWrapper - Class in com.google.android.exoplayer2.source.chunk
-
An
Extractor wrapper for loading chunks that contain a single primary track, and possibly
additional embedded tracks.
- ChunkExtractorWrapper(Extractor, int, Format) - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
-
- ChunkExtractorWrapper.TrackOutputProvider - Interface in com.google.android.exoplayer2.source.chunk
-
Provides
TrackOutput instances to be written to by the wrapper.
- ChunkHolder - Class in com.google.android.exoplayer2.source.chunk
-
Holds a chunk or an indication that the end of the stream has been reached.
- ChunkHolder() - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkHolder
-
- ChunkIndex - Class in com.google.android.exoplayer2.extractor
-
Defines chunks of samples within a media stream.
- ChunkIndex(int[], long[], long[], long[]) - Constructor for class com.google.android.exoplayer2.extractor.ChunkIndex
-
- chunkIndex - Variable in class com.google.android.exoplayer2.source.chunk.MediaChunk
-
- ChunkSampleStream<T extends ChunkSource> - Class in com.google.android.exoplayer2.source.chunk
-
- ChunkSampleStream(int, int[], Format[], T, SequenceableLoader.Callback<ChunkSampleStream<T>>, Allocator, long, DrmSessionManager<?>, LoadErrorHandlingPolicy, MediaSourceEventListener.EventDispatcher) - Constructor for class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
Constructs an instance.
- ChunkSampleStream.EmbeddedSampleStream - Class in com.google.android.exoplayer2.source.chunk
-
- ChunkSampleStream.ReleaseCallback<T extends ChunkSource> - Interface in com.google.android.exoplayer2.source.chunk
-
A callback to be notified when a sample stream has finished being released.
- ChunkSource - Interface in com.google.android.exoplayer2.source.chunk
-
- clear() - Method in class com.google.android.exoplayer2.decoder.Buffer
-
Clears the buffer.
- clear() - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
- clear() - Method in class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
-
- clear() - Method in class com.google.android.exoplayer2.FormatHolder
-
Clears the holder.
- clear() - Method in class com.google.android.exoplayer2.source.chunk.ChunkHolder
-
Clears the holder.
- clear() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
Clears the playlist.
- clear(Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
Clears the playlist and executes a custom action on completion.
- clear() - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
-
- clear() - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
-
- clear() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
-
Clears all request properties.
- clear() - Method in class com.google.android.exoplayer2.util.TimedValueQueue
-
Removes all of the values.
- clearAllDefaultRequestProperties() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
-
- clearAllDefaultRequestProperties() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource.Factory
-
- clearAllKeyRequestProperties() - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
-
Clears all headers for key requests made by the callback.
- clearAllRequestProperties() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
- clearAllRequestProperties() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
-
- clearAllRequestProperties() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- clearAllRequestProperties() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
- clearAndSet(Map<String, String>) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
-
Removes all properties previously existing and sets the keys and values of the map.
- clearAuxEffectInfo() - Method in interface com.google.android.exoplayer2.Player.AudioComponent
-
Detaches any previously attached auxiliary audio effect from the underlying audio track.
- clearAuxEffectInfo() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- clearBlocks - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
-
- clearBlocks - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
-
The number of clear blocks in the encryption pattern, 0 if pattern encryption does not
apply.
- clearCameraMotionListener(CameraMotionListener) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Clears the listener which receives camera motion events if it matches the one passed.
- clearCameraMotionListener(CameraMotionListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- clearDefaultRequestProperty(String) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
-
- clearDefaultRequestProperty(String) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource.Factory
-
- clearFatalError() - Method in class com.google.android.exoplayer2.upstream.Loader
-
Clears any stored fatal error.
- clearFlag(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
-
Removes the flag from this buffer's flags, if it is set.
- CLEARKEY_UUID - Static variable in class com.google.android.exoplayer2.C
-
UUID for the ClearKey DRM scheme.
- clearKeyRequestProperty(String) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
-
Clears a header for key requests made by the callback.
- clearMetadataOutput(MetadataOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- clearPrefixFlags(boolean[]) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
-
- clearRequestProperty(String) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
- clearRequestProperty(String) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
-
- clearRequestProperty(String) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- clearRequestProperty(String) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
Clears the value of a request header.
- clearSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- clearSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Clears a track selection override for the specified renderer and
TrackGroupArray.
- clearSelectionOverrides(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- clearSelectionOverrides() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- clearSelectionOverrides(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Clears all track selection overrides for the specified renderer.
- clearSelectionOverrides() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Clears all track selection overrides for all renderers.
- clearTextOutput(TextOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- clearTrackOutputs() - Method in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
-
- clearTrackSelections(int) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
-
Clears the selection of tracks for a period.
- clearVideoDecoderOutputBufferRenderer() - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Clears the video decoder output buffer renderer.
- clearVideoDecoderOutputBufferRenderer(VideoDecoderOutputBufferRenderer) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Clears the video decoder output buffer renderer if it matches the one passed.
- clearVideoDecoderOutputBufferRenderer() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- clearVideoDecoderOutputBufferRenderer(VideoDecoderOutputBufferRenderer) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Clears the listener which receives video frame metadata events if it matches the one passed.
- clearVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- clearVideoListener(SimpleExoPlayer.VideoListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- clearVideoSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
- clearVideoSurface() - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
- clearVideoSurface(Surface) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Clears the
Surface onto which video is being rendered if it matches the one passed.
- clearVideoSurface() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- clearVideoSurface(Surface) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- ClearVideoSurface(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.ClearVideoSurface
-
- clearVideoSurface() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a clear video surface action.
- clearVideoSurfaceHolder(SurfaceHolder) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Clears the
SurfaceHolder that holds the
Surface onto which video is being
rendered if it matches the one passed.
- clearVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- clearVideoSurfaceView(SurfaceView) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Clears the
SurfaceView onto which video is being rendered if it matches the one
passed.
- clearVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- clearVideoTextureView(TextureView) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Clears the
TextureView onto which video is being rendered if it matches the one
passed.
- clearVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- clearViewportSizeConstraints() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
- clippedEndTimeUs - Variable in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
-
The time from which output will end, or
C.TIME_UNSET if output will end at the end of
the chunk.
- clippedStartTimeUs - Variable in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
-
The time from which output will begin, or
C.TIME_UNSET if output will begin from the
start of the chunk.
- ClippingMediaPeriod - Class in com.google.android.exoplayer2.source
-
- ClippingMediaPeriod(MediaPeriod, boolean, long, long) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
Creates a new clipping media period that provides a clipped view of the specified
MediaPeriod's sample streams.
- ClippingMediaSource - Class in com.google.android.exoplayer2.source
-
MediaSource that wraps a source and clips its timeline based on specified start/end
positions.
- ClippingMediaSource(MediaSource, long, long) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
-
Creates a new clipping source that wraps the specified source and provides samples between the
specified start and end position.
- ClippingMediaSource(MediaSource, long) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
-
Creates a new clipping source that wraps the specified source and provides samples from the
default position for the specified duration.
- ClippingMediaSource(MediaSource, long, long, boolean, boolean, boolean) - Constructor for class com.google.android.exoplayer2.source.ClippingMediaSource
-
Creates a new clipping source that wraps the specified source.
- ClippingMediaSource.IllegalClippingException - Exception in com.google.android.exoplayer2.source
-
- ClippingMediaSource.IllegalClippingException.Reason - Annotation Type in com.google.android.exoplayer2.source
-
The reason clipping failed.
- Clock - Interface in com.google.android.exoplayer2.util
-
An interface through which system clocks can be read and
HandlerWrappers created.
- cloneAndClear() - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
-
Returns a copy of the shuffle order with all elements removed.
- cloneAndClear() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
-
- cloneAndClear() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
-
- cloneAndClear() - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
-
- cloneAndInsert(int, int) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
-
Returns a copy of the shuffle order with newly inserted elements.
- cloneAndInsert(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
-
- cloneAndInsert(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
-
- cloneAndInsert(int, int) - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
-
- cloneAndRemove(int, int) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
-
Returns a copy of the shuffle order with a range of elements removed.
- cloneAndRemove(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
-
- cloneAndRemove(int, int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
-
- cloneAndRemove(int, int) - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
-
- close() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
- close() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
-
- close() - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
-
- close() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
-
- close() - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSink
-
- close() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
-
- close() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSink
-
- close() - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
-
- close() - Method in interface com.google.android.exoplayer2.upstream.DataSink
-
Closes the sink.
- close() - Method in interface com.google.android.exoplayer2.upstream.DataSource
-
Closes the source.
- close() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
-
- close() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.DummyDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.FileDataSource
-
- close() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
-
- close() - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
-
- close() - Method in class com.google.android.exoplayer2.util.ConditionVariable
-
Closes the condition.
- close() - Method in class com.google.android.exoplayer2.util.ReusableBufferedOutputStream
-
- closedCaptions - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
-
The closed caption renditions declared by the playlist.
- closeQuietly(DataSource) - Static method in class com.google.android.exoplayer2.util.Util
-
- closeQuietly(Closeable) - Static method in class com.google.android.exoplayer2.util.Util
-
- closeSession(byte[]) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- closeSession(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- closeSession(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- CLOSEST_SYNC - Static variable in class com.google.android.exoplayer2.SeekParameters
-
Parameters for seeking to the closest sync point.
- CMF_FILE_EXTENSION_PREFIX - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
-
- CODEC_OPERATING_RATE_UNSET - Static variable in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Indicates no codec operating rate should be set.
- codecInfo - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderException
-
- codecInfo - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
-
- CodecMaxValues(int, int, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer.CodecMaxValues
-
- codecMimeType - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
The MIME type that the codec uses for media of type
MediaCodecInfo.mimeType, or
null if this
is a passthrough codec.
- codecNeedsSetOutputSurfaceWorkaround(String) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- codecs - Variable in class com.google.android.exoplayer2.Format
-
Codecs of the format as described in RFC 6381, or null if unknown or not applicable.
- codecs - Variable in class com.google.android.exoplayer2.video.DolbyVisionConfig
-
The RFC 6381 codecs string.
- CodecSpecificDataUtil - Class in com.google.android.exoplayer2.util
-
Provides static utility methods for manipulating various types of codec specific data.
- COLOR_RANGE_FULL - Static variable in class com.google.android.exoplayer2.C
-
- COLOR_RANGE_LIMITED - Static variable in class com.google.android.exoplayer2.C
-
- COLOR_SPACE_BT2020 - Static variable in class com.google.android.exoplayer2.C
-
- COLOR_SPACE_BT601 - Static variable in class com.google.android.exoplayer2.C
-
- COLOR_SPACE_BT709 - Static variable in class com.google.android.exoplayer2.C
-
- COLOR_TRANSFER_HLG - Static variable in class com.google.android.exoplayer2.C
-
- COLOR_TRANSFER_SDR - Static variable in class com.google.android.exoplayer2.C
-
- COLOR_TRANSFER_ST2084 - Static variable in class com.google.android.exoplayer2.C
-
- colorInfo - Variable in class com.google.android.exoplayer2.Format
-
The color metadata associated with the video, helps with accurate color reproduction.
- ColorInfo - Class in com.google.android.exoplayer2.video
-
Stores color info.
- ColorInfo(int, int, int, byte[]) - Constructor for class com.google.android.exoplayer2.video.ColorInfo
-
Constructs the ColorInfo.
- colorInfo - Variable in class com.google.android.exoplayer2.video.VideoDecoderInputBuffer
-
- colorInfo - Variable in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
-
- ColorParser - Class in com.google.android.exoplayer2.util
-
Parser for color expressions found in styling formats, e.g.
- colorRange - Variable in class com.google.android.exoplayer2.video.ColorInfo
-
The color range of the video.
- colors - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
-
For indexed-color pictures (e.g.
- colorSpace - Variable in class com.google.android.exoplayer2.video.ColorInfo
-
The color space of the video.
- colorspace - Variable in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
-
- COLORSPACE_BT2020 - Static variable in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
-
- COLORSPACE_BT601 - Static variable in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
-
- COLORSPACE_BT709 - Static variable in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
-
- COLORSPACE_UNKNOWN - Static variable in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
-
- colorTransfer - Variable in class com.google.android.exoplayer2.video.ColorInfo
-
The color transfer characteristicks of the video.
- com.google.android.exoplayer2 - package com.google.android.exoplayer2
-
- com.google.android.exoplayer2.analytics - package com.google.android.exoplayer2.analytics
-
- com.google.android.exoplayer2.audio - package com.google.android.exoplayer2.audio
-
- com.google.android.exoplayer2.database - package com.google.android.exoplayer2.database
-
- com.google.android.exoplayer2.decoder - package com.google.android.exoplayer2.decoder
-
- com.google.android.exoplayer2.drm - package com.google.android.exoplayer2.drm
-
- com.google.android.exoplayer2.ext.av1 - package com.google.android.exoplayer2.ext.av1
-
- com.google.android.exoplayer2.ext.cast - package com.google.android.exoplayer2.ext.cast
-
- com.google.android.exoplayer2.ext.cronet - package com.google.android.exoplayer2.ext.cronet
-
- com.google.android.exoplayer2.ext.ffmpeg - package com.google.android.exoplayer2.ext.ffmpeg
-
- com.google.android.exoplayer2.ext.flac - package com.google.android.exoplayer2.ext.flac
-
- com.google.android.exoplayer2.ext.gvr - package com.google.android.exoplayer2.ext.gvr
-
- com.google.android.exoplayer2.ext.ima - package com.google.android.exoplayer2.ext.ima
-
- com.google.android.exoplayer2.ext.jobdispatcher - package com.google.android.exoplayer2.ext.jobdispatcher
-
- com.google.android.exoplayer2.ext.leanback - package com.google.android.exoplayer2.ext.leanback
-
- com.google.android.exoplayer2.ext.mediasession - package com.google.android.exoplayer2.ext.mediasession
-
- com.google.android.exoplayer2.ext.okhttp - package com.google.android.exoplayer2.ext.okhttp
-
- com.google.android.exoplayer2.ext.opus - package com.google.android.exoplayer2.ext.opus
-
- com.google.android.exoplayer2.ext.rtmp - package com.google.android.exoplayer2.ext.rtmp
-
- com.google.android.exoplayer2.ext.vp9 - package com.google.android.exoplayer2.ext.vp9
-
- com.google.android.exoplayer2.ext.workmanager - package com.google.android.exoplayer2.ext.workmanager
-
- com.google.android.exoplayer2.extractor - package com.google.android.exoplayer2.extractor
-
- com.google.android.exoplayer2.extractor.amr - package com.google.android.exoplayer2.extractor.amr
-
- com.google.android.exoplayer2.extractor.flac - package com.google.android.exoplayer2.extractor.flac
-
- com.google.android.exoplayer2.extractor.flv - package com.google.android.exoplayer2.extractor.flv
-
- com.google.android.exoplayer2.extractor.mkv - package com.google.android.exoplayer2.extractor.mkv
-
- com.google.android.exoplayer2.extractor.mp3 - package com.google.android.exoplayer2.extractor.mp3
-
- com.google.android.exoplayer2.extractor.mp4 - package com.google.android.exoplayer2.extractor.mp4
-
- com.google.android.exoplayer2.extractor.ogg - package com.google.android.exoplayer2.extractor.ogg
-
- com.google.android.exoplayer2.extractor.rawcc - package com.google.android.exoplayer2.extractor.rawcc
-
- com.google.android.exoplayer2.extractor.ts - package com.google.android.exoplayer2.extractor.ts
-
- com.google.android.exoplayer2.extractor.wav - package com.google.android.exoplayer2.extractor.wav
-
- com.google.android.exoplayer2.mediacodec - package com.google.android.exoplayer2.mediacodec
-
- com.google.android.exoplayer2.metadata - package com.google.android.exoplayer2.metadata
-
- com.google.android.exoplayer2.metadata.emsg - package com.google.android.exoplayer2.metadata.emsg
-
- com.google.android.exoplayer2.metadata.flac - package com.google.android.exoplayer2.metadata.flac
-
- com.google.android.exoplayer2.metadata.icy - package com.google.android.exoplayer2.metadata.icy
-
- com.google.android.exoplayer2.metadata.id3 - package com.google.android.exoplayer2.metadata.id3
-
- com.google.android.exoplayer2.metadata.scte35 - package com.google.android.exoplayer2.metadata.scte35
-
- com.google.android.exoplayer2.offline - package com.google.android.exoplayer2.offline
-
- com.google.android.exoplayer2.scheduler - package com.google.android.exoplayer2.scheduler
-
- com.google.android.exoplayer2.source - package com.google.android.exoplayer2.source
-
- com.google.android.exoplayer2.source.ads - package com.google.android.exoplayer2.source.ads
-
- com.google.android.exoplayer2.source.chunk - package com.google.android.exoplayer2.source.chunk
-
- com.google.android.exoplayer2.source.dash - package com.google.android.exoplayer2.source.dash
-
- com.google.android.exoplayer2.source.dash.manifest - package com.google.android.exoplayer2.source.dash.manifest
-
- com.google.android.exoplayer2.source.dash.offline - package com.google.android.exoplayer2.source.dash.offline
-
- com.google.android.exoplayer2.source.hls - package com.google.android.exoplayer2.source.hls
-
- com.google.android.exoplayer2.source.hls.offline - package com.google.android.exoplayer2.source.hls.offline
-
- com.google.android.exoplayer2.source.hls.playlist - package com.google.android.exoplayer2.source.hls.playlist
-
- com.google.android.exoplayer2.source.smoothstreaming - package com.google.android.exoplayer2.source.smoothstreaming
-
- com.google.android.exoplayer2.source.smoothstreaming.manifest - package com.google.android.exoplayer2.source.smoothstreaming.manifest
-
- com.google.android.exoplayer2.source.smoothstreaming.offline - package com.google.android.exoplayer2.source.smoothstreaming.offline
-
- com.google.android.exoplayer2.testutil - package com.google.android.exoplayer2.testutil
-
- com.google.android.exoplayer2.text - package com.google.android.exoplayer2.text
-
- com.google.android.exoplayer2.text.cea - package com.google.android.exoplayer2.text.cea
-
- com.google.android.exoplayer2.text.dvb - package com.google.android.exoplayer2.text.dvb
-
- com.google.android.exoplayer2.text.pgs - package com.google.android.exoplayer2.text.pgs
-
- com.google.android.exoplayer2.text.ssa - package com.google.android.exoplayer2.text.ssa
-
- com.google.android.exoplayer2.text.subrip - package com.google.android.exoplayer2.text.subrip
-
- com.google.android.exoplayer2.text.ttml - package com.google.android.exoplayer2.text.ttml
-
- com.google.android.exoplayer2.text.tx3g - package com.google.android.exoplayer2.text.tx3g
-
- com.google.android.exoplayer2.text.webvtt - package com.google.android.exoplayer2.text.webvtt
-
- com.google.android.exoplayer2.trackselection - package com.google.android.exoplayer2.trackselection
-
- com.google.android.exoplayer2.ui - package com.google.android.exoplayer2.ui
-
- com.google.android.exoplayer2.ui.spherical - package com.google.android.exoplayer2.ui.spherical
-
- com.google.android.exoplayer2.upstream - package com.google.android.exoplayer2.upstream
-
- com.google.android.exoplayer2.upstream.cache - package com.google.android.exoplayer2.upstream.cache
-
- com.google.android.exoplayer2.upstream.crypto - package com.google.android.exoplayer2.upstream.crypto
-
- com.google.android.exoplayer2.util - package com.google.android.exoplayer2.util
-
- com.google.android.exoplayer2.video - package com.google.android.exoplayer2.video
-
- com.google.android.exoplayer2.video.spherical - package com.google.android.exoplayer2.video.spherical
-
- COMMAND_MOVE_QUEUE_ITEM - Static variable in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
-
- commandBytes - Variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
-
The private bytes as defined in SCTE35, Section 9.3.6.
- CommentFrame - Class in com.google.android.exoplayer2.metadata.id3
-
Comment ID3 frame.
- CommentFrame(String, String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.CommentFrame
-
- CommentHeader(String, String[], int) - Constructor for class com.google.android.exoplayer2.extractor.VorbisUtil.CommentHeader
-
- comments - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.CommentHeader
-
- commitFile(File, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Commits a file into the cache.
- commitFile(File, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- COMMON_PSSH_UUID - Static variable in class com.google.android.exoplayer2.C
-
- compare(DrmInitData.SchemeData, DrmInitData.SchemeData) - Method in class com.google.android.exoplayer2.drm.DrmInitData
-
- compareLong(long, long) - Static method in class com.google.android.exoplayer2.util.Util
-
Compares two long values and returns the same value as Long.compare(long, long).
- compareTo(SegmentDownloader.Segment) - Method in class com.google.android.exoplayer2.offline.SegmentDownloader.Segment
-
- compareTo(StreamKey) - Method in class com.google.android.exoplayer2.offline.StreamKey
-
- compareTo(Long) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
- compareTo(DefaultTrackSelector.AudioTrackScore) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.AudioTrackScore
-
Compares this score with another.
- compareTo(DefaultTrackSelector.TextTrackScore) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.TextTrackScore
-
Compares this score with another.
- compareTo(CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
- compile(String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.UrlTemplate
-
Compile an instance from the provided template string.
- compileProgram(String[], String[]) - Static method in class com.google.android.exoplayer2.util.GlUtil
-
Builds a GL shader program from vertex and fragment shader code.
- compileProgram(String, String) - Static method in class com.google.android.exoplayer2.util.GlUtil
-
Builds a GL shader program from vertex and fragment shader code.
- componentSpliceList - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
-
- componentSpliceList - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
-
- componentSplicePlaybackPositionUs - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
-
- componentSplicePts - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
-
- componentTag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
-
- componentTag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.ComponentSplice
-
- CompositeMediaSource<T> - Class in com.google.android.exoplayer2.source
-
Composite
MediaSource consisting of multiple child sources.
- CompositeMediaSource() - Constructor for class com.google.android.exoplayer2.source.CompositeMediaSource
-
Creates composite media source without child sources.
- CompositeSequenceableLoader - Class in com.google.android.exoplayer2.source
-
- CompositeSequenceableLoader(SequenceableLoader[]) - Constructor for class com.google.android.exoplayer2.source.CompositeSequenceableLoader
-
- CompositeSequenceableLoaderFactory - Interface in com.google.android.exoplayer2.source
-
- computeRecenterMatrix(float[], float[]) - Static method in class com.google.android.exoplayer2.video.spherical.FrameRotationQueue
-
Computes a recentering matrix from the given angle-axis rotation only accounting for yaw.
- ConcatenatingMediaSource - Class in com.google.android.exoplayer2.source
-
- ConcatenatingMediaSource(MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- ConcatenatingMediaSource(boolean, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- ConcatenatingMediaSource(boolean, ShuffleOrder, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- ConcatenatingMediaSource(boolean, boolean, ShuffleOrder, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- ConditionVariable - Class in com.google.android.exoplayer2.util
-
- ConditionVariable() - Constructor for class com.google.android.exoplayer2.util.ConditionVariable
-
- ConfigurationException(Throwable) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.ConfigurationException
-
Creates a new configuration exception with the specified cause and no message.
- ConfigurationException(String) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.ConfigurationException
-
Creates a new configuration exception with the specified message and no cause.
- configure(AudioProcessor.AudioFormat) - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
-
Configures the processor to process input audio with the specified format.
- configure(int, int, int, int, int[], int, int) - Method in interface com.google.android.exoplayer2.audio.AudioSink
-
Configures (or reconfigures) the sink.
- configure(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
-
- configure(int, int, int, int, int[], int, int) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
- configure(int, int, int, int, int[], int, int) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
-
- configure(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
-
- configure(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
-
Deprecated.
- configure(int, int, int, int, int[], int, int) - Method in class com.google.android.exoplayer2.testutil.CapturingAudioSink
-
- configureCodec(MediaCodecInfo, MediaCodec, Format, MediaCrypto, float) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- configureCodec(MediaCodecInfo, MediaCodec, Format, MediaCrypto, float) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- configureCodec(MediaCodecInfo, MediaCodec, Format, MediaCrypto, float) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- ConstantBitrateSeekMap - Class in com.google.android.exoplayer2.extractor
-
A
SeekMap implementation that assumes the stream has a constant bitrate and consists of
multiple independent frames of the same size.
- ConstantBitrateSeekMap(long, long, int, int) - Constructor for class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
-
Constructs a new instance from a stream.
- constraintsFlagsAndReservedZero2Bits - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- constrainValue(int, int, int) - Static method in class com.google.android.exoplayer2.util.Util
-
Constrains a value to the specified bounds.
- constrainValue(long, long, long) - Static method in class com.google.android.exoplayer2.util.Util
-
Constrains a value to the specified bounds.
- constrainValue(float, float, float) - Static method in class com.google.android.exoplayer2.util.Util
-
Constrains a value to the specified bounds.
- consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
-
- consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Reader
-
- consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
-
- consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
-
- consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
-
- consume(ParsableByteArray) - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
-
Consumes (possibly partial) data from the current packet.
- consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
-
- consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
-
- consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
-
- consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
-
- consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
-
- consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
-
- consume(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.extractor.ts.PesReader
-
- consume(ParsableByteArray) - Method in interface com.google.android.exoplayer2.extractor.ts.SectionPayloadReader
-
- consume(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.extractor.ts.SectionReader
-
- consume(long, ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.SeiReader
-
- consume(ParsableByteArray) - Method in class com.google.android.exoplayer2.extractor.ts.SpliceInfoSectionReader
-
- consume(ParsableByteArray, int) - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader
-
Consumes the payload of a TS packet.
- consume(byte[], int) - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
-
- consume(long, ParsableByteArray, TrackOutput[]) - Static method in class com.google.android.exoplayer2.text.cea.CeaUtil
-
Consumes the unescaped content of an SEI NAL unit, writing the content of any CEA-608 messages
as samples to all of the provided outputs.
- consumeCcData(long, ParsableByteArray, TrackOutput[]) - Static method in class com.google.android.exoplayer2.text.cea.CeaUtil
-
Consumes caption data (cc_data), writing the content as samples to all of the provided outputs.
- ContainerMediaChunk - Class in com.google.android.exoplayer2.source.chunk
-
- ContainerMediaChunk(DataSource, DataSpec, Format, int, Object, long, long, long, long, long, int, long, ChunkExtractorWrapper) - Constructor for class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
-
- containerMimeType - Variable in class com.google.android.exoplayer2.Format
-
The mime type of the container, or null if unknown or not applicable.
- contains(String) - Method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
-
Returns whether the metadata is available.
- contains(String) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
-
- contains(Object[], Object) - Static method in class com.google.android.exoplayer2.util.Util
-
- containsTrack(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
-
Returns whether this override contains the specified track index.
- CONTENT_TYPE_MOVIE - Static variable in class com.google.android.exoplayer2.C
-
- CONTENT_TYPE_MUSIC - Static variable in class com.google.android.exoplayer2.C
-
- CONTENT_TYPE_SONIFICATION - Static variable in class com.google.android.exoplayer2.C
-
- CONTENT_TYPE_SPEECH - Static variable in class com.google.android.exoplayer2.C
-
- CONTENT_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
-
- ContentDataSource - Class in com.google.android.exoplayer2.upstream
-
- ContentDataSource(Context) - Constructor for class com.google.android.exoplayer2.upstream.ContentDataSource
-
- ContentDataSource.ContentDataSourceException - Exception in com.google.android.exoplayer2.upstream
-
Thrown when an
IOException is encountered reading from a content URI.
- ContentDataSourceException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.ContentDataSource.ContentDataSourceException
-
- contentDurationUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
The content duration in microseconds, if known.
- contentLength - Variable in class com.google.android.exoplayer2.offline.Download
-
- contentLength - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
-
- ContentMetadata - Interface in com.google.android.exoplayer2.upstream.cache
-
Interface for an immutable snapshot of keyed metadata.
- ContentMetadataMutations - Class in com.google.android.exoplayer2.upstream.cache
-
Defines multiple mutations on metadata value which are applied atomically.
- ContentMetadataMutations() - Constructor for class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
-
Constructs a DefaultMetadataMutations.
- contentType - Variable in class com.google.android.exoplayer2.audio.AudioAttributes
-
- contentType - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidContentTypeException
-
- continueLoading(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- continueLoading(long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
- continueLoading(long) - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
-
- continueLoading(long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- continueLoading(long) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- continueLoading(long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Attempts to continue loading.
- continueLoading(long) - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
-
Attempts to continue loading.
- continueLoading(long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
-
- continueLoading(long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- ControlDispatcher - Interface in com.google.android.exoplayer2
-
Dispatches operations to the
Player.
- copy(List<StreamKey>) - Method in interface com.google.android.exoplayer2.offline.FilterableManifest
-
Returns a copy of the manifest including only the streams specified by the given keys.
- copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
-
- copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
- copy(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
- copy(Format[]) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
Creates a copy of this stream element with the formats replaced with those specified.
- copyright - Variable in class com.google.android.exoplayer2.source.dash.manifest.ProgramInformation
-
A copyright statement for the media presentation.
- copyWith(long, int) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
Returns a playlist identical to this one except for the start time, the discontinuity sequence
and hasDiscontinuitySequence values.
- copyWithAdjustments(DrmInitData, Metadata) - Method in class com.google.android.exoplayer2.Format
-
- copyWithAppendedEntries(Metadata.Entry...) - Method in class com.google.android.exoplayer2.metadata.Metadata
-
Returns a copy of this metadata with the specified entries appended.
- copyWithAppendedEntriesFrom(Metadata) - Method in class com.google.android.exoplayer2.metadata.Metadata
-
Returns a copy of this metadata with the entries of the specified metadata appended.
- copyWithBitrate(int) - Method in class com.google.android.exoplayer2.Format
-
- copyWithContainerInfo(String, String, String, String, Metadata, int, int, int, int, int, String) - Method in class com.google.android.exoplayer2.Format
-
- copyWithData(byte[]) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
Returns a copy of this instance with the specified data.
- copyWithDrmInitData(DrmInitData) - Method in class com.google.android.exoplayer2.Format
-
- copyWithEndTag() - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
Returns a playlist identical to this one except that an end tag is added.
- copyWithExoMediaCryptoType(Class<? extends ExoMediaCrypto>) - Method in class com.google.android.exoplayer2.Format
-
- copyWithFormat(Format) - Method in class com.google.android.exoplayer2.extractor.mp4.Track
-
- copyWithFormat(Format) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
-
Returns a copy of this instance with the given
Format.
- copyWithFrameRate(float) - Method in class com.google.android.exoplayer2.Format
-
- copyWithGaplessInfo(int, int) - Method in class com.google.android.exoplayer2.Format
-
- copyWithId(String) - Method in class com.google.android.exoplayer2.offline.DownloadRequest
-
Returns a copy with the specified ID.
- copyWithLabel(String) - Method in class com.google.android.exoplayer2.Format
-
- copyWithManifestFormatInfo(Format) - Method in class com.google.android.exoplayer2.Format
-
- copyWithMaxInputSize(int) - Method in class com.google.android.exoplayer2.Format
-
- copyWithMergedRequest(DownloadRequest) - Method in class com.google.android.exoplayer2.offline.DownloadRequest
-
Returns the result of merging newRequest into this request.
- copyWithMetadata(Metadata) - Method in class com.google.android.exoplayer2.Format
-
- copyWithMutationsApplied(ContentMetadataMutations) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
-
- copyWithPeriodUid(Object) - Method in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
-
Returns a copy of this period identifier but with newPeriodUid as its period uid.
- copyWithPictureFrames(List<PictureFrame>) - Method in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Returns a copy of this with the given picture frames added to the metadata.
- copyWithRotationDegrees(int) - Method in class com.google.android.exoplayer2.Format
-
- copyWithSchemeType(String) - Method in class com.google.android.exoplayer2.drm.DrmInitData
-
Returns a copy with the specified protection scheme type.
- copyWithSeekTable(FlacStreamMetadata.SeekTable) - Method in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Returns a copy of this with the seek table replaced by the one given.
- copyWithSubsampleOffsetUs(long) - Method in class com.google.android.exoplayer2.Format
-
- copyWithVideoSize(int, int) - Method in class com.google.android.exoplayer2.Format
-
- copyWithVorbisComments(List<String>) - Method in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Returns a copy of this with the given Vorbis comments added to the metadata.
- count - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
-
- crc32(byte[], int, int, int) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the result of updating a CRC-32 with the specified bytes in a "most significant bit
first" order.
- crc8(byte[], int, int, int) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the result of updating a CRC-8 with the specified bytes in a "most significant bit
first" order.
- create(int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
-
- create(int, int, int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
-
- create() - Method in interface com.google.android.exoplayer2.testutil.ExtractorAsserts.ExtractorFactory
-
- createAdaptiveTrackSelection(TrackGroup, BandwidthMeter, int[], int) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
-
Creates a single adaptive selection for the given group, bandwidth meter and tracks.
- createAdaptiveTrackSelection(TrackSelection.Definition) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelectionUtil.AdaptiveTrackSelectionFactory
-
Creates an adaptive track selection for the provided track selection definition.
- createAdPlaybackState(int, long...) - Static method in class com.google.android.exoplayer2.testutil.FakeTimeline
-
Returns an ad playback state with the specified number of ads in each of the specified ad
groups, each ten seconds long.
- createAudioContainerFormat(String, String, String, String, int, int, int, List<byte[]>, int, String) - Static method in class com.google.android.exoplayer2.Format
-
- createAudioContainerFormat(String, String, String, String, String, Metadata, int, int, int, List<byte[]>, int, int, String) - Static method in class com.google.android.exoplayer2.Format
-
- createAudioSampleFormat(String, String, String, int, int, int, int, List<byte[]>, DrmInitData, int, String) - Static method in class com.google.android.exoplayer2.Format
-
- createAudioSampleFormat(String, String, String, int, int, int, int, int, List<byte[]>, DrmInitData, int, String) - Static method in class com.google.android.exoplayer2.Format
-
- createAudioSampleFormat(String, String, String, int, int, int, int, int, int, int, List<byte[]>, DrmInitData, int, String, Metadata) - Static method in class com.google.android.exoplayer2.Format
-
- createBuffer(float[]) - Static method in class com.google.android.exoplayer2.util.GlUtil
-
Allocates a FloatBuffer with the given data.
- createBuffer(int) - Static method in class com.google.android.exoplayer2.util.GlUtil
-
Allocates a FloatBuffer.
- createByteArray(int...) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
-
Converts an array of integers in the range [0, 255] into an equivalent byte array.
- createCacheDataSource() - Method in class com.google.android.exoplayer2.offline.DownloaderConstructorHelper
-
- createChunkSource(LoaderErrorThrower, SsManifest, int, TrackSelection, TransferListener) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource.Factory
-
- createChunkSource(LoaderErrorThrower, SsManifest, int, TrackSelection, TransferListener) - Method in interface com.google.android.exoplayer2.source.smoothstreaming.SsChunkSource.Factory
-
- createChunkSource(TrackSelection, long, TransferListener) - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource.Factory
-
- createCompositeSequenceableLoader(SequenceableLoader...) - Method in interface com.google.android.exoplayer2.source.CompositeSequenceableLoaderFactory
-
- createCompositeSequenceableLoader(SequenceableLoader...) - Method in class com.google.android.exoplayer2.source.DefaultCompositeSequenceableLoaderFactory
-
- createContainerFormat(String, String, String, String, int, int, String) - Static method in class com.google.android.exoplayer2.Format
-
- createContainerFormat(String, String, String, String, String, int, int, int, String) - Static method in class com.google.android.exoplayer2.Format
-
- createCurrentContentIntent(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
-
Creates a content intent for the current media item.
- createCustomActions(Context, int) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.CustomActionReceiver
-
Gets the actions handled by this receiver.
- createDashChunkSource(LoaderErrorThrower, DashManifest, int, int[], TrackSelection, int, long, boolean, List<Format>, PlayerEmsgHandler.PlayerTrackEmsgHandler, TransferListener) - Method in interface com.google.android.exoplayer2.source.dash.DashChunkSource.Factory
-
- createDashChunkSource(LoaderErrorThrower, DashManifest, int, int[], TrackSelection, int, long, boolean, List<Format>, PlayerEmsgHandler.PlayerTrackEmsgHandler, TransferListener) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.Factory
-
- createDataSet(TrackGroup, long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet.Factory
-
- createDataSink() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSinkFactory
-
- createDataSink() - Method in interface com.google.android.exoplayer2.upstream.DataSink.Factory
-
- createDataSource() - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSourceFactory
-
- createDataSource(int) - Method in class com.google.android.exoplayer2.source.hls.DefaultHlsDataSourceFactory
-
- createDataSource(int) - Method in interface com.google.android.exoplayer2.source.hls.HlsDataSourceFactory
-
- createDataSource() - Method in class com.google.android.exoplayer2.testutil.FakeDataSource.Factory
-
- createDataSource() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSourceFactory
-
- createDataSource() - Method in interface com.google.android.exoplayer2.upstream.DataSource.Factory
-
- createDataSource() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
-
- createDataSource() - Method in class com.google.android.exoplayer2.upstream.FileDataSource.Factory
-
- createDataSource() - Method in class com.google.android.exoplayer2.upstream.FileDataSourceFactory
-
Deprecated.
- createDataSource() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
-
- createDataSource() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource.Factory
-
- createDataSource() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSourceFactory
-
- createDataSource() - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource.Factory
-
- createDataSourceInternal(HttpDataSource.RequestProperties) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
-
- createDataSourceInternal(HttpDataSource.RequestProperties) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSourceFactory
-
- createDataSourceInternal(HttpDataSource.RequestProperties) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSourceFactory
-
- createDataSourceInternal(HttpDataSource.RequestProperties) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
-
- createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
Creates a decoder for the given format.
- createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
-
- createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
-
- createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
-
- createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
-
- createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
-
- createDecoder(Format) - Method in interface com.google.android.exoplayer2.metadata.MetadataDecoderFactory
-
- createDecoder(Format) - Method in interface com.google.android.exoplayer2.text.SubtitleDecoderFactory
-
- createDecoder(Format, ExoMediaCrypto) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Creates a decoder for the given format.
- createDecoderException(Throwable, MediaCodecInfo) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- createDecoderException(Throwable, MediaCodecInfo) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- createDefaultLoadControl() - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
-
- createDownloader(DownloadRequest) - Method in class com.google.android.exoplayer2.offline.DefaultDownloaderFactory
-
- createDownloader(DownloadRequest) - Method in interface com.google.android.exoplayer2.offline.DownloaderFactory
-
- createEquirectangular(int) - Static method in class com.google.android.exoplayer2.video.spherical.Projection
-
Generates a complete sphere equirectangular projection.
- createEquirectangular(float, int, int, float, float, int) - Static method in class com.google.android.exoplayer2.video.spherical.Projection
-
Generates an equirectangular projection.
- createEventDispatcher(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
-
- createEventDispatcher(MediaSource.MediaPeriodId, long) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
-
- createEventDispatcher(int, MediaSource.MediaPeriodId, long) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
-
- createExternalTexture() - Static method in class com.google.android.exoplayer2.util.GlUtil
-
Creates a GL_TEXTURE_EXTERNAL_OES with default configuration of GL_LINEAR filtering and
GL_CLAMP_TO_EDGE wrapping.
- createExtractor(Extractor, Uri, Format, List<Format>, TimestampAdjuster, Map<String, List<String>>, ExtractorInput) - Method in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
-
- createExtractor(Extractor, Uri, Format, List<Format>, TimestampAdjuster, Map<String, List<String>>, ExtractorInput) - Method in interface com.google.android.exoplayer2.source.hls.HlsExtractorFactory
-
Creates an
Extractor for extracting HLS media chunks.
- createExtractors() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
-
- createExtractors() - Method in interface com.google.android.exoplayer2.extractor.ExtractorsFactory
-
- createFakeMediaPeriod(MediaSource.MediaPeriodId, TrackGroupArray, Allocator, MediaSourceEventListener.EventDispatcher, TransferListener) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaSource
-
- createFakeMediaPeriod(MediaSource.MediaPeriodId, TrackGroupArray, Allocator, MediaSourceEventListener.EventDispatcher, TransferListener) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
-
- createForAd(Exception) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
-
- createForAdGroup(Exception, int) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
-
- createForAllAds(Exception) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
-
- createForOutOfMemoryError(OutOfMemoryError) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
-
- createForRemote(String) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
-
- createForRenderer(Exception, int, Format, int) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
-
- createForSource(IOException) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
-
- createForUnexpected(RuntimeException) - Static method in exception com.google.android.exoplayer2.ExoPlaybackException
-
- createForUnexpected(RuntimeException) - Static method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
-
- createFromCaptionStyle(CaptioningManager.CaptionStyle) - Static method in class com.google.android.exoplayer2.text.CaptionStyleCompat
-
- createFromParcel(Parcel) - Static method in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand.ComponentSplice
-
- createHandler(Looper, Handler.Callback) - Method in class com.google.android.exoplayer2.testutil.FakeClock
-
- createHandler(Looper, Handler.Callback) - Method in interface com.google.android.exoplayer2.util.Clock
-
Creates a
HandlerWrapper using a specified looper and a specified callback for handling
messages.
- createHandler(Handler.Callback) - Static method in class com.google.android.exoplayer2.util.Util
-
Creates a
Handler with the specified
Handler.Callback on the current
Looper thread.
- createHandler(Looper, Handler.Callback) - Static method in class com.google.android.exoplayer2.util.Util
-
Creates a
Handler with the specified
Handler.Callback on the specified
Looper thread.
- createImageSampleFormat(String, String, String, int, int, List<byte[]>, String, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
-
- createInitialPayloadReaders() - Method in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
-
- createInitialPayloadReaders() - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader.Factory
-
Returns the initial mapping from PIDs to payload readers.
- createInputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
Creates a new input buffer.
- createInputBuffer() - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- createMediaCrypto(byte[]) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- createMediaCrypto(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- createMediaCrypto(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- createMediaPeriod(T, int) - Method in interface com.google.android.exoplayer2.testutil.MediaPeriodAsserts.FilterableManifestMediaPeriodFactory
-
Returns media period based on the provided filterable manifest.
- createMediaPlaylistVariantUrl(Uri) - Static method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
-
Creates a variant for a given media playlist url.
- createMediaSource(MediaDescriptionCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor.MediaSourceFactory
-
- createMediaSource(DownloadRequest, DataSource.Factory) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
-
Equivalent to createMediaSource(downloadRequest, dataSourceFactory, null).
- createMediaSource(DownloadRequest, DataSource.Factory, DrmSessionManager<?>) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
-
Utility method to create a
MediaSource that only exposes the tracks defined in
downloadRequest.
- createMediaSource(DashManifest) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
-
Returns a new
DashMediaSource using the current parameters and the specified
sideloaded manifest.
- createMediaSource(DashManifest, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
-
- createMediaSource(Uri, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
-
- createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
-
- createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
-
Deprecated.
- createMediaSource(Uri, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
-
- createMediaSource(Uri, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
-
- createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
-
- createMediaSource(Uri) - Method in interface com.google.android.exoplayer2.source.MediaSourceFactory
-
- createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
-
- createMediaSource(Uri, Format, long) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
-
- createMediaSource(Uri, Format, long, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
-
- createMediaSource(SsManifest) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
-
Returns a new
SsMediaSource using the current parameters and the specified sideloaded
manifest.
- createMediaSource(SsManifest, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
-
- createMediaSource(Uri, Handler, MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
-
- createMediaSource(Uri) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
-
- createMessage(PlayerMessage.Target) - Method in interface com.google.android.exoplayer2.ExoPlayer
-
- createMessage(PlayerMessage.Target) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- createMessage(PlayerMessage.Target) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- createNotification(Player, NotificationCompat.Builder, boolean, Bitmap) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Creates the notification given the current player state.
- createNotificationChannel(Context, String, int, int) - Static method in class com.google.android.exoplayer2.util.NotificationUtil
-
- createNotificationChannel(Context, String, int, int, int) - Static method in class com.google.android.exoplayer2.util.NotificationUtil
-
Creates a notification channel that notifications can be posted to.
- createOfflineCacheDataSource() - Method in class com.google.android.exoplayer2.offline.DownloaderConstructorHelper
-
Returns a new
CacheDataSource instance which accesses cache read-only and throws an
exception on cache miss.
- createOutputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
Creates a new output buffer.
- createOutputBuffer() - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- createPayloadReader(int, TsPayloadReader.EsInfo) - Method in class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
-
- createPayloadReader(int, TsPayloadReader.EsInfo) - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader.Factory
-
Returns a
TsPayloadReader for a given stream type and elementary stream information.
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
-
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
-
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
-
Deprecated.
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
-
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
-
- createPeriod(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
-
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in interface com.google.android.exoplayer2.source.MediaSource
-
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
-
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
-
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.SilenceMediaSource
-
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- createPeriod(MediaSource.MediaPeriodId, Allocator, long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
-
- createPeriod(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
-
- createPeriod(MediaSource.MediaPeriodId, long) - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
-
- createPlaylistParser() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory
-
- createPlaylistParser(HlsMasterPlaylist) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory
-
- createPlaylistParser() - Method in class com.google.android.exoplayer2.source.hls.playlist.FilteringHlsPlaylistParserFactory
-
- createPlaylistParser(HlsMasterPlaylist) - Method in class com.google.android.exoplayer2.source.hls.playlist.FilteringHlsPlaylistParserFactory
-
- createPlaylistParser() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParserFactory
-
Returns a stand-alone playlist parser.
- createPlaylistParser(HlsMasterPlaylist) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParserFactory
-
Returns a playlist parser for playlists that were referenced by the given
HlsMasterPlaylist.
- createRendererException(Exception, Format) - Method in class com.google.android.exoplayer2.BaseRenderer
-
- createRenderers(Handler, VideoRendererEventListener, AudioRendererEventListener, TextOutput, MetadataOutput, DrmSessionManager<FrameworkMediaCrypto>) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
-
- createRenderers(Handler, VideoRendererEventListener, AudioRendererEventListener, TextOutput, MetadataOutput, DrmSessionManager<FrameworkMediaCrypto>) - Method in interface com.google.android.exoplayer2.RenderersFactory
-
- createRetryAction(boolean, long) - Static method in class com.google.android.exoplayer2.upstream.Loader
-
- createSampleFormat(String, String, long) - Static method in class com.google.android.exoplayer2.Format
-
- createSampleFormat(String, String, String, int, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
-
- createSampleStream(TrackSelection) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
-
- createSampleStream(TrackSelection) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- createSeekParamsForTargetTimeUs(long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
-
- createSessionCreationData(DrmInitData, DrmInitData) - Static method in class com.google.android.exoplayer2.drm.DrmInitData
-
Merges
DrmInitData obtained from a media manifest and a media stream.
- createSingleVariantMasterPlaylist(String) - Static method in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
-
Creates a playlist with a single variant.
- createSubtitle() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
-
- createSubtitle() - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
-
- createTempDirectory(Context, String) - Static method in class com.google.android.exoplayer2.util.Util
-
- createTempFile(Context, String) - Static method in class com.google.android.exoplayer2.util.Util
-
- createTextContainerFormat(String, String, String, String, String, int, int, int, String) - Static method in class com.google.android.exoplayer2.Format
-
- createTextContainerFormat(String, String, String, String, String, int, int, int, String, int) - Static method in class com.google.android.exoplayer2.Format
-
- createTextSampleFormat(String, String, int, String) - Static method in class com.google.android.exoplayer2.Format
-
- createTextSampleFormat(String, String, int, String, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
-
- createTextSampleFormat(String, String, String, int, int, String, int, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
-
- createTextSampleFormat(String, String, String, int, int, String, DrmInitData, long) - Static method in class com.google.android.exoplayer2.Format
-
- createTextSampleFormat(String, String, String, int, int, String, int, DrmInitData, long, List<byte[]>) - Static method in class com.google.android.exoplayer2.Format
-
- createTracker(HlsDataSourceFactory, LoadErrorHandlingPolicy, HlsPlaylistParserFactory) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.Factory
-
Creates a new tracker instance.
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
-
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Reader
-
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
-
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
-
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
-
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
-
Initializes the reader by providing outputs and ids for the tracks.
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
-
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
-
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
-
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
-
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
-
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
-
- createTracks(ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.SeiReader
-
- createTrackSelections(TrackSelection.Definition[], BandwidthMeter) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection.Factory
-
- createTrackSelections(TrackSelection.Definition[], BandwidthMeter) - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection.Factory
-
Deprecated.
- createTrackSelections(TrackSelection.Definition[], BandwidthMeter) - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection.Factory
-
- createTrackSelections(TrackSelection.Definition[], BandwidthMeter) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection.Factory
-
- createTrackSelectionsForDefinitions(TrackSelection.Definition[], TrackSelectionUtil.AdaptiveTrackSelectionFactory) - Static method in class com.google.android.exoplayer2.trackselection.TrackSelectionUtil
-
Creates track selections for an array of track selection definitions, with at most one
multi-track adaptive selection.
- createUnexpectedDecodeException(Throwable) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
Creates an exception to propagate for an unexpected decode error.
- createUnexpectedDecodeException(Throwable) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- createVideoContainerFormat(String, String, String, String, int, int, int, float, List<byte[]>, int) - Static method in class com.google.android.exoplayer2.Format
-
- createVideoContainerFormat(String, String, String, String, String, Metadata, int, int, int, float, List<byte[]>, int, int) - Static method in class com.google.android.exoplayer2.Format
-
- createVideoSampleFormat(String, String, String, int, int, int, int, float, List<byte[]>, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
-
- createVideoSampleFormat(String, String, String, int, int, int, int, float, List<byte[]>, int, float, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
-
- createVideoSampleFormat(String, String, String, int, int, int, int, float, List<byte[]>, int, float, byte[], int, ColorInfo, DrmInitData) - Static method in class com.google.android.exoplayer2.Format
-
- createWithNotificationChannel(Context, String, int, int, PlayerNotificationManager.MediaDescriptionAdapter) - Static method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
- createWithNotificationChannel(Context, String, int, int, int, PlayerNotificationManager.MediaDescriptionAdapter) - Static method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Creates a notification manager and a low-priority notification channel with the specified
channelId and channelName.
- createWithNotificationChannel(Context, String, int, int, PlayerNotificationManager.MediaDescriptionAdapter, PlayerNotificationManager.NotificationListener) - Static method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
- createWithNotificationChannel(Context, String, int, int, int, PlayerNotificationManager.MediaDescriptionAdapter, PlayerNotificationManager.NotificationListener) - Static method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Creates a notification manager and a low-priority notification channel with the specified
channelId and channelName.
- CREATOR - Static variable in class com.google.android.exoplayer2.drm.DrmInitData
-
- CREATOR - Static variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
- CREATOR - Static variable in class com.google.android.exoplayer2.extractor.mp4.MdtaMetadataEntry
-
- CREATOR - Static variable in class com.google.android.exoplayer2.Format
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.flac.VorbisComment
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.icy.IcyInfo
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.BinaryFrame
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.CommentFrame
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.InternalFrame
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.PrivFrame
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.Metadata
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.SpliceNullCommand
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand
-
- CREATOR - Static variable in class com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand
-
- CREATOR - Static variable in class com.google.android.exoplayer2.offline.DownloadRequest
-
- CREATOR - Static variable in class com.google.android.exoplayer2.offline.StreamKey
-
- CREATOR - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
-
- CREATOR - Static variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
-
- CREATOR - Static variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
-
- CREATOR - Static variable in class com.google.android.exoplayer2.source.TrackGroup
-
- CREATOR - Static variable in class com.google.android.exoplayer2.source.TrackGroupArray
-
- CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
-
- CREATOR - Static variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
-
- CREATOR - Static variable in class com.google.android.exoplayer2.video.ColorInfo
-
- cronetConnectionStatus - Variable in exception com.google.android.exoplayer2.ext.cronet.CronetDataSource.OpenException
-
Returns the status of the connection establishment at the moment when the error occurred, as
defined by UrlRequest.Status.
- CronetDataSource - Class in com.google.android.exoplayer2.ext.cronet
-
DataSource without intermediate buffer based on Cronet API set using UrlRequest.
- CronetDataSource(CronetEngine, Executor) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
- CronetDataSource(CronetEngine, Executor, int, int, boolean, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
- CronetDataSource(CronetEngine, Executor, int, int, boolean, HttpDataSource.RequestProperties, boolean) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
- CronetDataSource(CronetEngine, Executor, Predicate<String>) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
- CronetDataSource(CronetEngine, Executor, Predicate<String>, int, int, boolean, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
- CronetDataSource(CronetEngine, Executor, Predicate<String>, int, int, boolean, HttpDataSource.RequestProperties, boolean) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
- CronetDataSource.InterruptedIOException - Exception in com.google.android.exoplayer2.ext.cronet
-
Thrown on catching an InterruptedException.
- CronetDataSource.OpenException - Exception in com.google.android.exoplayer2.ext.cronet
-
- CronetDataSourceFactory - Class in com.google.android.exoplayer2.ext.cronet
-
- CronetDataSourceFactory(CronetEngineWrapper, Executor, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
-
Constructs a CronetDataSourceFactory.
- CronetDataSourceFactory(CronetEngineWrapper, Executor, String) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
-
Constructs a CronetDataSourceFactory.
- CronetDataSourceFactory(CronetEngineWrapper, Executor, int, int, boolean, String) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
-
Constructs a CronetDataSourceFactory.
- CronetDataSourceFactory(CronetEngineWrapper, Executor, int, int, boolean, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
-
Constructs a CronetDataSourceFactory.
- CronetDataSourceFactory(CronetEngineWrapper, Executor, TransferListener, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
-
Constructs a CronetDataSourceFactory.
- CronetDataSourceFactory(CronetEngineWrapper, Executor, TransferListener, String) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
-
Constructs a CronetDataSourceFactory.
- CronetDataSourceFactory(CronetEngineWrapper, Executor, TransferListener, int, int, boolean, String) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
-
Constructs a CronetDataSourceFactory.
- CronetDataSourceFactory(CronetEngineWrapper, Executor, TransferListener, int, int, boolean, HttpDataSource.Factory) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
-
Constructs a CronetDataSourceFactory.
- CronetEngineWrapper - Class in com.google.android.exoplayer2.ext.cronet
-
A wrapper class for a CronetEngine.
- CronetEngineWrapper(Context) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
-
Creates a wrapper for a CronetEngine which automatically selects the most suitable
CronetProvider.
- CronetEngineWrapper(Context, boolean) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
-
Creates a wrapper for a CronetEngine which automatically selects the most suitable
CronetProvider based on user preference.
- CronetEngineWrapper(CronetEngine) - Constructor for class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
-
Creates a wrapper for an existing CronetEngine.
- CronetEngineWrapper.CronetEngineSource - Annotation Type in com.google.android.exoplayer2.ext.cronet
-
Source of CronetEngine.
- CRYPTO_MODE_AES_CBC - Static variable in class com.google.android.exoplayer2.C
-
- CRYPTO_MODE_AES_CTR - Static variable in class com.google.android.exoplayer2.C
-
- CRYPTO_MODE_UNENCRYPTED - Static variable in class com.google.android.exoplayer2.C
-
- cryptoData - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
-
A
TrackOutput.CryptoData instance containing the encryption information from this
TrackEncryptionBox.
- CryptoData(int, byte[], int, int) - Constructor for class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
-
- CryptoInfo - Class in com.google.android.exoplayer2.decoder
-
- CryptoInfo() - Constructor for class com.google.android.exoplayer2.decoder.CryptoInfo
-
- cryptoInfo - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
- cryptoMode - Variable in class com.google.android.exoplayer2.extractor.TrackOutput.CryptoData
-
The encryption mode used for the sample.
- Cue - Class in com.google.android.exoplayer2.text
-
Contains information about a specific cue, including textual content and formatting data.
- Cue(Bitmap, float, int, float, int, float, float) - Constructor for class com.google.android.exoplayer2.text.Cue
-
Creates an image cue.
- Cue(CharSequence) - Constructor for class com.google.android.exoplayer2.text.Cue
-
- Cue(CharSequence, Layout.Alignment, float, int, int, float, int, float) - Constructor for class com.google.android.exoplayer2.text.Cue
-
Creates a text cue.
- Cue(CharSequence, Layout.Alignment, float, int, int, float, int, float, int, float) - Constructor for class com.google.android.exoplayer2.text.Cue
-
Creates a text cue.
- Cue(CharSequence, Layout.Alignment, float, int, int, float, int, float, boolean, int) - Constructor for class com.google.android.exoplayer2.text.Cue
-
Creates a text cue.
- Cue.AnchorType - Annotation Type in com.google.android.exoplayer2.text
-
The type of anchor, which may be unset.
- Cue.LineType - Annotation Type in com.google.android.exoplayer2.text
-
The type of line, which may be unset.
- Cue.TextSizeType - Annotation Type in com.google.android.exoplayer2.text
-
The type of default text size for this cue, which may be unset.
- CUE_HEADER_PATTERN - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCueParser
-
- CURRENT_POSITION_NOT_SET - Static variable in interface com.google.android.exoplayer2.audio.AudioSink
-
- currentPlaybackPositionMs - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
-
- customCacheKey - Variable in class com.google.android.exoplayer2.offline.DownloadRequest
-
Custom key for cache indexing, or null.
- d(String, String) - Static method in class com.google.android.exoplayer2.util.Log
-
- d(String, String, Throwable) - Static method in class com.google.android.exoplayer2.util.Log
-
- DashChunkSource - Interface in com.google.android.exoplayer2.source.dash
-
- DashChunkSource.Factory - Interface in com.google.android.exoplayer2.source.dash
-
- DashDownloader - Class in com.google.android.exoplayer2.source.dash.offline
-
A downloader for DASH streams.
- DashDownloader(Uri, List<StreamKey>, DownloaderConstructorHelper) - Constructor for class com.google.android.exoplayer2.source.dash.offline.DashDownloader
-
- DashManifest - Class in com.google.android.exoplayer2.source.dash.manifest
-
Represents a DASH media presentation description (mpd), as defined by ISO/IEC 23009-1:2014
Section 5.3.1.2.
- DashManifest(long, long, long, boolean, long, long, long, long, UtcTimingElement, Uri, List<Period>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- DashManifest(long, long, long, boolean, long, long, long, long, ProgramInformation, UtcTimingElement, Uri, List<Period>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- DashManifestParser - Class in com.google.android.exoplayer2.source.dash.manifest
-
A parser of media presentation description files.
- DashManifestParser() - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- DashManifestParser.RepresentationInfo - Class in com.google.android.exoplayer2.source.dash.manifest
-
A parsed Representation element.
- DashManifestStaleException - Exception in com.google.android.exoplayer2.source.dash
-
Thrown when a live playback's manifest is stale and a new manifest could not be loaded.
- DashManifestStaleException() - Constructor for exception com.google.android.exoplayer2.source.dash.DashManifestStaleException
-
- DashMediaSource - Class in com.google.android.exoplayer2.source.dash
-
- DashMediaSource(DashManifest, DashChunkSource.Factory, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- DashMediaSource(DashManifest, DashChunkSource.Factory, int, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- DashMediaSource(Uri, DataSource.Factory, DashChunkSource.Factory, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- DashMediaSource(Uri, DataSource.Factory, DashChunkSource.Factory, int, long, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- DashMediaSource(Uri, DataSource.Factory, ParsingLoadable.Parser<? extends DashManifest>, DashChunkSource.Factory, int, long, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- DashMediaSource.Factory - Class in com.google.android.exoplayer2.source.dash
-
- DashSegmentIndex - Interface in com.google.android.exoplayer2.source.dash
-
Indexes the segments within a media stream.
- DashUtil - Class in com.google.android.exoplayer2.source.dash
-
Utility methods for DASH streams.
- DashWrappingSegmentIndex - Class in com.google.android.exoplayer2.source.dash
-
- DashWrappingSegmentIndex(ChunkIndex, long) - Constructor for class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
-
- data - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
The buffer's data, or null if no data has been set.
- data - Variable in class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
-
- data - Variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
The initialization data.
- data - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
-
- data - Variable in class com.google.android.exoplayer2.metadata.id3.BinaryFrame
-
- data - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
-
- data - Variable in class com.google.android.exoplayer2.offline.DownloadRequest
-
Application defined data associated with the download.
- data - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.ProtectionElement
-
- data - Variable in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData.Segment
-
- data - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
-
- data - Variable in class com.google.android.exoplayer2.trackselection.TrackSelection.Definition
-
Optional data associated with this selection of tracks.
- data - Variable in class com.google.android.exoplayer2.upstream.Allocation
-
The array containing the allocated space.
- data - Variable in class com.google.android.exoplayer2.util.ParsableBitArray
-
- data - Variable in class com.google.android.exoplayer2.util.ParsableByteArray
-
- data - Variable in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
-
RGB buffer for RGB mode.
- DATA_FOURCC - Static variable in class com.google.android.exoplayer2.audio.WavUtil
-
Four character code for "data".
- DATA_TYPE_AD - Static variable in class com.google.android.exoplayer2.C
-
A data type constant for ads loader data.
- DATA_TYPE_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
-
Applications or extensions may define custom DATA_TYPE_* constants greater than or
equal to this value.
- DATA_TYPE_DRM - Static variable in class com.google.android.exoplayer2.C
-
A data type constant for drm or encryption data.
- DATA_TYPE_MANIFEST - Static variable in class com.google.android.exoplayer2.C
-
A data type constant for a manifest file.
- DATA_TYPE_MEDIA - Static variable in class com.google.android.exoplayer2.C
-
A data type constant for media, typically containing media samples.
- DATA_TYPE_MEDIA_INITIALIZATION - Static variable in class com.google.android.exoplayer2.C
-
A data type constant for media, typically containing only initialization data.
- DATA_TYPE_MEDIA_PROGRESSIVE_LIVE - Static variable in class com.google.android.exoplayer2.C
-
A data type constant for live progressive media streams, typically containing media samples.
- DATA_TYPE_TIME_SYNCHRONIZATION - Static variable in class com.google.android.exoplayer2.C
-
A data type constant for time synchronization data.
- DATA_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
-
A data type constant for data of unknown or unspecified type.
- DATABASE_NAME - Static variable in class com.google.android.exoplayer2.database.ExoDatabaseProvider
-
The file name used for the standalone ExoPlayer database.
- DatabaseIOException - Exception in com.google.android.exoplayer2.database
-
- DatabaseIOException(SQLException) - Constructor for exception com.google.android.exoplayer2.database.DatabaseIOException
-
- DatabaseIOException(SQLException, String) - Constructor for exception com.google.android.exoplayer2.database.DatabaseIOException
-
- DatabaseProvider - Interface in com.google.android.exoplayer2.database
-
- DataChunk - Class in com.google.android.exoplayer2.source.chunk
-
A base class for
Chunk implementations where the data should be loaded into a
byte[] before being consumed.
- DataChunk(DataSource, DataSpec, int, Format, int, Object, byte[]) - Constructor for class com.google.android.exoplayer2.source.chunk.DataChunk
-
- DataSchemeDataSource - Class in com.google.android.exoplayer2.upstream
-
A
DataSource for reading data URLs, as defined by RFC 2397.
- DataSchemeDataSource() - Constructor for class com.google.android.exoplayer2.upstream.DataSchemeDataSource
-
- DataSink - Interface in com.google.android.exoplayer2.upstream
-
A component to which streams of data can be written.
- DataSink.Factory - Interface in com.google.android.exoplayer2.upstream
-
- dataSource - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
-
- DataSource - Interface in com.google.android.exoplayer2.upstream
-
A component from which streams of data can be read.
- DataSource.Factory - Interface in com.google.android.exoplayer2.upstream
-
- DataSourceException - Exception in com.google.android.exoplayer2.upstream
-
Used to specify reason of a DataSource error.
- DataSourceException(int) - Constructor for exception com.google.android.exoplayer2.upstream.DataSourceException
-
Constructs a DataSourceException.
- DataSourceInputStream - Class in com.google.android.exoplayer2.upstream
-
- DataSourceInputStream(DataSource, DataSpec) - Constructor for class com.google.android.exoplayer2.upstream.DataSourceInputStream
-
- dataSpec - Variable in class com.google.android.exoplayer2.offline.SegmentDownloader.Segment
-
- dataSpec - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
-
The
DataSpec that defines the data to be loaded.
- dataSpec - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.LoadEventInfo
-
Defines the requested data.
- DataSpec - Class in com.google.android.exoplayer2.upstream
-
Defines a region of data.
- DataSpec(Uri) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
Construct a data spec for the given uri and with
DataSpec.key set to null.
- DataSpec(Uri, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
Construct a data spec for the given uri and with
DataSpec.key set to null.
- DataSpec(Uri, long, long, String) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
- DataSpec(Uri, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
- DataSpec(Uri, long, long, String, int, Map<String, String>) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
- DataSpec(Uri, long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
- DataSpec(Uri, byte[], long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
- DataSpec(Uri, int, byte[], long, long, long, String, int) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
- DataSpec(Uri, int, byte[], long, long, long, String, int, Map<String, String>) - Constructor for class com.google.android.exoplayer2.upstream.DataSpec
-
Construct a data spec with request parameters to be used as HTTP headers inside HTTP requests.
- dataSpec - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
-
The
DataSpec associated with the current connection.
- dataSpec - Variable in class com.google.android.exoplayer2.upstream.ParsingLoadable
-
The
DataSpec that defines the data to be loaded.
- DataSpec.Flags - Annotation Type in com.google.android.exoplayer2.upstream
-
The flags that apply to any request for data.
- DataSpec.HttpMethod - Annotation Type in com.google.android.exoplayer2.upstream
-
The set of HTTP methods that are supported by ExoPlayer
HttpDataSources.
- dataType - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.MediaLoadData
-
One of the
C DATA_TYPE_* constants defining the type of data.
- DebugTextViewHelper - Class in com.google.android.exoplayer2.ui
-
- DebugTextViewHelper(SimpleExoPlayer, TextView) - Constructor for class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
- decode(I, O, boolean) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
Decodes the inputBuffer and stores any decoded output in outputBuffer.
- decode(MetadataInputBuffer) - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessageDecoder
-
- decode(ParsableByteArray) - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessageDecoder
-
- decode(MetadataInputBuffer) - Method in class com.google.android.exoplayer2.metadata.icy.IcyDecoder
-
- decode(MetadataInputBuffer) - Method in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
-
- decode(byte[], int) - Method in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
-
Decodes ID3 tags.
- decode(MetadataInputBuffer) - Method in interface com.google.android.exoplayer2.metadata.MetadataDecoder
-
Decodes a
Metadata element from the provided input buffer.
- decode(MetadataInputBuffer) - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceInfoDecoder
-
- decode(SubtitleInputBuffer) - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
-
- decode(SubtitleInputBuffer) - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
-
- decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.dvb.DvbDecoder
-
- decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.pgs.PgsDecoder
-
- decode(SubtitleInputBuffer, SubtitleOutputBuffer, boolean) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.ssa.SsaDecoder
-
- decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.subrip.SubripDecoder
-
- decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.ttml.TtmlDecoder
-
- decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.tx3g.Tx3gDecoder
-
- decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.webvtt.Mp4WebvttDecoder
-
- decode(byte[], int, boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttDecoder
-
- decode(byte[], int) - Static method in class com.google.android.exoplayer2.video.spherical.ProjectionDecoder
-
- Decoder<I,O,E extends Exception> - Interface in com.google.android.exoplayer2.decoder
-
A media decoder.
- DecoderCounters - Class in com.google.android.exoplayer2.decoder
-
Maintains decoder event counts, for debugging purposes only.
- DecoderCounters() - Constructor for class com.google.android.exoplayer2.decoder.DecoderCounters
-
- decoderCounters - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- decoderCounters - Variable in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Decoder event counters used for debugging purposes.
- DecoderCountersUtil - Class in com.google.android.exoplayer2.testutil
-
- DecoderException(Throwable, MediaCodecInfo) - Constructor for exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderException
-
- decoderInitCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The number of times a decoder has been initialized.
- DecoderInitializationException(Format, Throwable, boolean, int) - Constructor for exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
-
- DecoderInitializationException(Format, Throwable, boolean, MediaCodecInfo) - Constructor for exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
-
- decoderInitialized(String, long, long) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
-
- decoderInitialized(String, long, long) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
-
- DecoderInputBuffer - Class in com.google.android.exoplayer2.decoder
-
Holds input for a decoder.
- DecoderInputBuffer(int) - Constructor for class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
- DecoderInputBuffer.BufferReplacementMode - Annotation Type in com.google.android.exoplayer2.decoder
-
The buffer replacement mode, which may disable replacement.
- decoderPrivate - Variable in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
-
Decoder private data.
- decoderReleaseCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The number of times a decoder has been released.
- DecryptionException - Exception in com.google.android.exoplayer2.drm
-
Thrown when a non-platform component fails to decrypt data.
- DecryptionException(int, String) - Constructor for exception com.google.android.exoplayer2.drm.DecryptionException
-
- DEFAULT - Static variable in class com.google.android.exoplayer2.audio.AudioAttributes
-
- DEFAULT - Static variable in interface com.google.android.exoplayer2.mediacodec.MediaCodecSelector
-
Default implementation of
MediaCodecSelector, which returns the preferred decoder for
the given format.
- DEFAULT - Static variable in interface com.google.android.exoplayer2.metadata.MetadataDecoderFactory
-
- DEFAULT - Static variable in class com.google.android.exoplayer2.PlaybackParameters
-
The default playback parameters: real-time playback with no pitch modification or silence
skipping.
- DEFAULT - Static variable in class com.google.android.exoplayer2.RendererConfiguration
-
The default configuration.
- DEFAULT - Static variable in class com.google.android.exoplayer2.SeekParameters
-
Default parameters.
- DEFAULT - Static variable in interface com.google.android.exoplayer2.source.hls.HlsExtractorFactory
-
- DEFAULT - Static variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
-
Default caption style.
- DEFAULT - Static variable in interface com.google.android.exoplayer2.text.SubtitleDecoderFactory
-
- DEFAULT - Static variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- DEFAULT - Static variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
-
- DEFAULT - Static variable in interface com.google.android.exoplayer2.util.Clock
-
Default
Clock to use for all non-test cases.
- DEFAULT_AD_MARKER_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default color for ad markers.
- DEFAULT_AD_MARKER_WIDTH_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default width for ad markers, in dp.
- DEFAULT_ALLOWED_VIDEO_JOINING_TIME_MS - Static variable in class com.google.android.exoplayer2.DefaultRenderersFactory
-
The default maximum duration for which a video renderer can attempt to seamlessly join an
ongoing playback.
- DEFAULT_AUDIO_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
A default size in bytes for an audio buffer.
- DEFAULT_AUDIO_CAPABILITIES - Static variable in class com.google.android.exoplayer2.audio.AudioCapabilities
-
The minimum audio capabilities supported by all devices.
- DEFAULT_BACK_BUFFER_DURATION_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default back buffer duration in milliseconds.
- DEFAULT_BANDWIDTH_FRACTION - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
-
- DEFAULT_BAR_HEIGHT_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default height for the time bar, in dp.
- DEFAULT_BOTTOM_PADDING_FRACTION - Static variable in class com.google.android.exoplayer2.ui.SubtitleView
-
- DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default duration of media that must be buffered for playback to resume after a rebuffer, in
milliseconds.
- DEFAULT_BUFFER_FOR_PLAYBACK_AFTER_REBUFFER_MS - Static variable in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
-
The default duration of media that must be buffered for playback to resume after a rebuffer, in
milliseconds.
- DEFAULT_BUFFER_FOR_PLAYBACK_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default duration of media that must be buffered for playback to start or resume following a
user action such as a seek, in milliseconds.
- DEFAULT_BUFFER_FOR_PLAYBACK_MS - Static variable in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
-
The default duration of media that must be buffered for playback to start or resume following a
user action such as a seek, in milliseconds.
- DEFAULT_BUFFER_SEGMENT_SIZE - Static variable in class com.google.android.exoplayer2.C
-
A default size in bytes for an individual allocation that forms part of a larger buffer.
- DEFAULT_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
-
Default buffer size in bytes.
- DEFAULT_BUFFER_SIZE_BYTES - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheUtil
-
Default buffer size to be used while caching.
- DEFAULT_BUFFERED_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default color for the buffered portion of the time bar.
- DEFAULT_BUFFERED_FRACTION_TO_LIVE_EDGE_FOR_QUALITY_INCREASE - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
-
- DEFAULT_CACHE_KEY_FACTORY - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheUtil
-
- DEFAULT_CAMERA_MOTION_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
A default size in bytes for a camera motion buffer.
- DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
The default connection timeout, in milliseconds.
- DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
-
The default connection timeout, in milliseconds.
- DEFAULT_CONNECT_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
The default connection timeout, in milliseconds.
- DEFAULT_CONTROL_DISPATCHER - Static variable in class com.google.android.exoplayer2.ui.PlaybackControlView
-
- DEFAULT_FAST_FORWARD_MS - Static variable in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
The default fast forward increment, in milliseconds.
- DEFAULT_FAST_FORWARD_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
-
The default fast forward increment, in milliseconds.
- DEFAULT_FAST_FORWARD_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
The default fast forward increment, in milliseconds.
- DEFAULT_FOREGROUND_NOTIFICATION_UPDATE_INTERVAL - Static variable in class com.google.android.exoplayer2.offline.DownloadService
-
Default foreground notification update interval in milliseconds.
- DEFAULT_FRAGMENT_SIZE - Static variable in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
-
Default fragmentSize recommended for caching use cases.
- DEFAULT_HYSTERESIS_BUFFER_MS - Static variable in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
-
The default offset the current duration of buffered media must deviate from the ideal duration
of buffered media for the currently selected format, before the selected format is changed.
- DEFAULT_INITIAL_BITRATE_COUNTRY_GROUPS - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
Country groups used to determine the default initial bitrate estimate.
- DEFAULT_INITIAL_BITRATE_ESTIMATE - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
Default initial bitrate estimate used when the device is offline or the network type cannot be
determined, in bits per second.
- DEFAULT_INITIAL_BITRATE_ESTIMATES_2G - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
Default initial 2G bitrate estimates in bits per second.
- DEFAULT_INITIAL_BITRATE_ESTIMATES_3G - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
Default initial 3G bitrate estimates in bits per second.
- DEFAULT_INITIAL_BITRATE_ESTIMATES_4G - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
Default initial 4G bitrate estimates in bits per second.
- DEFAULT_INITIAL_BITRATE_ESTIMATES_WIFI - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
Default initial Wifi bitrate estimate in bits per second.
- DEFAULT_LIVE_PRESENTATION_DELAY_FIXED_MS - Static variable in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- DEFAULT_LIVE_PRESENTATION_DELAY_MS - Static variable in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
The default presentation delay for live streams.
- DEFAULT_LIVE_PRESENTATION_DELAY_MS - Static variable in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
The default presentation delay for live streams.
- DEFAULT_LIVE_PRESENTATION_DELAY_PREFER_MANIFEST_MS - Static variable in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- DEFAULT_LOADING_CHECK_INTERVAL_BYTES - Static variable in class com.google.android.exoplayer2.source.ExtractorMediaSource
-
- DEFAULT_LOADING_CHECK_INTERVAL_BYTES - Static variable in class com.google.android.exoplayer2.source.ProgressiveMediaSource
-
- DEFAULT_MAX_BUFFER_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default maximum duration of media that the player will attempt to buffer, in milliseconds.
- DEFAULT_MAX_BUFFER_MS - Static variable in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
-
The default maximum duration of media that the player will attempt to buffer, in milliseconds.
- DEFAULT_MAX_DURATION_FOR_QUALITY_DECREASE_MS - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
-
- DEFAULT_MAX_PACKET_SIZE - Static variable in class com.google.android.exoplayer2.upstream.UdpDataSource
-
The default maximum datagram packet size, in bytes.
- DEFAULT_MAX_PARALLEL_DOWNLOADS - Static variable in class com.google.android.exoplayer2.offline.DownloadManager
-
The default maximum number of parallel downloads.
- DEFAULT_MAX_QUEUE_SIZE - Static variable in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
-
- DEFAULT_METADATA_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
A default size in bytes for a metadata buffer.
- DEFAULT_MIN_BUFFER_MS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default minimum duration of media that the player will attempt to ensure is buffered at all
times, in milliseconds.
- DEFAULT_MIN_BUFFER_MS - Static variable in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
-
The default minimum duration of media that the player will attempt to ensure is buffered at all
times, in milliseconds.
- DEFAULT_MIN_DURATION_FOR_QUALITY_INCREASE_MS - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
-
- DEFAULT_MIN_DURATION_TO_RETAIN_AFTER_DISCARD_MS - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
-
- DEFAULT_MIN_LOADABLE_RETRY_COUNT - Static variable in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
-
The default minimum number of times to retry loading data prior to propagating the error.
- DEFAULT_MIN_LOADABLE_RETRY_COUNT_PROGRESSIVE_LIVE - Static variable in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
-
The default minimum number of times to retry loading prior to failing for progressive live
streams.
- DEFAULT_MIN_RETRY_COUNT - Static variable in class com.google.android.exoplayer2.offline.DownloadManager
-
The default minimum number of times a download must be retried before failing.
- DEFAULT_MIN_TIME_BETWEEN_BUFFER_REEVALUTATION_MS - Static variable in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
-
- DEFAULT_MUXED_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
A default size in bytes for a muxed buffer (e.g.
- DEFAULT_PLAYBACK_ACTIONS - Static variable in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
The default playback actions.
- DEFAULT_PLAYED_AD_MARKER_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default color for played ad markers.
- DEFAULT_PLAYED_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default color for the played portion of the time bar.
- DEFAULT_PLAYLIST_STUCK_TARGET_DURATION_COEFFICIENT - Static variable in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
Default coefficient applied on the target duration of a playlist to determine the amount of
time after which an unchanging playlist is considered stuck.
- DEFAULT_PRIORITIZE_TIME_OVER_SIZE_THRESHOLDS - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default prioritization of buffer time constraints over size constraints.
- DEFAULT_PROVIDER - Static variable in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
The default read timeout, in milliseconds.
- DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetDataSourceFactory
-
The default read timeout, in milliseconds.
- DEFAULT_READ_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
The default read timeout, in milliseconds.
- DEFAULT_REPEAT_TOGGLE_MODES - Static variable in class com.google.android.exoplayer2.ext.mediasession.RepeatModeActionProvider
-
The default repeat toggle modes.
- DEFAULT_REPEAT_TOGGLE_MODES - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
-
The default repeat toggle modes.
- DEFAULT_REQUIREMENTS - Static variable in class com.google.android.exoplayer2.offline.DownloadManager
-
The default requirement is that the device has network connectivity.
- DEFAULT_RETAIN_BACK_BUFFER_FROM_KEYFRAME - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default for whether the back buffer is retained from the previous keyframe.
- DEFAULT_REWIND_MS - Static variable in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
The default rewind increment, in milliseconds.
- DEFAULT_REWIND_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
-
The default rewind increment, in milliseconds.
- DEFAULT_REWIND_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
The default rewind increment, in milliseconds.
- DEFAULT_SCRUBBER_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default color for the scrubber handle.
- DEFAULT_SCRUBBER_DISABLED_SIZE_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default diameter for the scrubber when disabled, in dp.
- DEFAULT_SCRUBBER_DRAGGED_SIZE_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default diameter for the scrubber when dragged, in dp.
- DEFAULT_SCRUBBER_ENABLED_SIZE_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default diameter for the scrubber when enabled, in dp.
- DEFAULT_SHOW_TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
-
The default show timeout, in milliseconds.
- DEFAULT_SLIDING_WINDOW_MAX_WEIGHT - Static variable in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
Default maximum weight for the sliding window.
- DEFAULT_SOCKET_TIMEOUT_MILLIS - Static variable in class com.google.android.exoplayer2.upstream.UdpDataSource
-
The default socket timeout, in milliseconds.
- DEFAULT_START_UP_BANDWIDTH_FRACTION - Static variable in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
-
During start-up phase, the default fraction of the available bandwidth that the selection
should consider available for use.
- DEFAULT_START_UP_MIN_BUFFER_FOR_QUALITY_INCREASE_MS - Static variable in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
-
During start-up phase, the default minimum duration of buffered media required for the selected
track to switch to one of higher quality based on measured bandwidth.
- DEFAULT_TARGET_BUFFER_BYTES - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
The default target buffer size in bytes.
- DEFAULT_TEXT_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
A default size in bytes for a text buffer.
- DEFAULT_TEXT_SIZE_FRACTION - Static variable in class com.google.android.exoplayer2.ui.SubtitleView
-
The default fractional text size.
- DEFAULT_TIME_BAR_MIN_UPDATE_INTERVAL_MS - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
-
The default minimum interval between time bar position updates.
- DEFAULT_TOUCH_TARGET_HEIGHT_DP - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default height for the touch target, in dp.
- DEFAULT_TRACK_BLACKLIST_MS - Static variable in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
-
The default duration for which a track is blacklisted in milliseconds.
- DEFAULT_TRACK_SELECTOR_PARAMETERS - Static variable in class com.google.android.exoplayer2.offline.DownloadHelper
-
- DEFAULT_TRACK_SELECTOR_PARAMETERS_WITHOUT_CONTEXT - Static variable in class com.google.android.exoplayer2.offline.DownloadHelper
-
Default track selection parameters for downloading, but without any
Context
constraints.
- DEFAULT_TRACK_SELECTOR_PARAMETERS_WITHOUT_VIEWPORT - Static variable in class com.google.android.exoplayer2.offline.DownloadHelper
-
- DEFAULT_UNPLAYED_COLOR - Static variable in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Default color for the unplayed portion of the time bar.
- DEFAULT_VIDEO_BUFFER_SIZE - Static variable in class com.google.android.exoplayer2.DefaultLoadControl
-
A default size in bytes for a video buffer.
- DEFAULT_WINDOW_DURATION_US - Static variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
-
Default test window duration in microseconds.
- DEFAULT_WITHOUT_CONTEXT - Static variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
An instance with default values, except those obtained from the
Context.
- DEFAULT_WITHOUT_CONTEXT - Static variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
-
An instance with default values, except those obtained from the
Context.
- DEFAULT_WITHOUT_VIEWPORT - Static variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- DefaultAllocator - Class in com.google.android.exoplayer2.upstream
-
- DefaultAllocator(boolean, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultAllocator
-
Constructs an instance without creating any
Allocations up front.
- DefaultAllocator(boolean, int, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultAllocator
-
Constructs an instance with some
Allocations created up front.
- DefaultAnalyticsListener - Class in com.google.android.exoplayer2.analytics
-
- DefaultAnalyticsListener() - Constructor for class com.google.android.exoplayer2.analytics.DefaultAnalyticsListener
-
Deprecated.
- DefaultAudioProcessorChain(AudioProcessor...) - Constructor for class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
-
Creates a new default chain of audio processors, with the user-defined audioProcessors applied before silence skipping and playback parameters.
- DefaultAudioSink - Class in com.google.android.exoplayer2.audio
-
Plays audio data.
- DefaultAudioSink(AudioCapabilities, AudioProcessor[]) - Constructor for class com.google.android.exoplayer2.audio.DefaultAudioSink
-
Creates a new default audio sink.
- DefaultAudioSink(AudioCapabilities, AudioProcessor[], boolean) - Constructor for class com.google.android.exoplayer2.audio.DefaultAudioSink
-
Creates a new default audio sink, optionally using float output for high resolution PCM.
- DefaultAudioSink(AudioCapabilities, DefaultAudioSink.AudioProcessorChain, boolean) - Constructor for class com.google.android.exoplayer2.audio.DefaultAudioSink
-
Creates a new default audio sink, optionally using float output for high resolution PCM and
with the specified audioProcessorChain.
- DefaultAudioSink.AudioProcessorChain - Interface in com.google.android.exoplayer2.audio
-
Provides a chain of audio processors, which are used for any user-defined processing and
applying playback parameters (if supported).
- DefaultAudioSink.DefaultAudioProcessorChain - Class in com.google.android.exoplayer2.audio
-
- DefaultAudioSink.InvalidAudioTrackTimestampException - Exception in com.google.android.exoplayer2.audio
-
- DefaultBandwidthMeter - Class in com.google.android.exoplayer2.upstream
-
Estimates bandwidth by listening to data transfers.
- DefaultBandwidthMeter() - Constructor for class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- DefaultBandwidthMeter.Builder - Class in com.google.android.exoplayer2.upstream
-
Builder for a bandwidth meter.
- DefaultCastOptionsProvider - Class in com.google.android.exoplayer2.ext.cast
-
A convenience OptionsProvider to target the default cast receiver app.
- DefaultCastOptionsProvider() - Constructor for class com.google.android.exoplayer2.ext.cast.DefaultCastOptionsProvider
-
- DefaultCompositeSequenceableLoaderFactory - Class in com.google.android.exoplayer2.source
-
- DefaultCompositeSequenceableLoaderFactory() - Constructor for class com.google.android.exoplayer2.source.DefaultCompositeSequenceableLoaderFactory
-
- DefaultContentMetadata - Class in com.google.android.exoplayer2.upstream.cache
-
- DefaultContentMetadata() - Constructor for class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
-
- DefaultContentMetadata(Map<String, byte[]>) - Constructor for class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
-
- DefaultControlDispatcher - Class in com.google.android.exoplayer2
-
Default
ControlDispatcher that dispatches all operations to the player without
modification.
- DefaultControlDispatcher() - Constructor for class com.google.android.exoplayer2.DefaultControlDispatcher
-
- DefaultDashChunkSource - Class in com.google.android.exoplayer2.source.dash
-
- DefaultDashChunkSource(LoaderErrorThrower, DashManifest, int, int[], TrackSelection, int, DataSource, long, int, boolean, List<Format>, PlayerEmsgHandler.PlayerTrackEmsgHandler) - Constructor for class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
-
- DefaultDashChunkSource.Factory - Class in com.google.android.exoplayer2.source.dash
-
- DefaultDashChunkSource.RepresentationHolder - Class in com.google.android.exoplayer2.source.dash
-
- DefaultDashChunkSource.RepresentationSegmentIterator - Class in com.google.android.exoplayer2.source.dash
-
- DefaultDatabaseProvider - Class in com.google.android.exoplayer2.database
-
- DefaultDatabaseProvider(SQLiteOpenHelper) - Constructor for class com.google.android.exoplayer2.database.DefaultDatabaseProvider
-
- DefaultDataSource - Class in com.google.android.exoplayer2.upstream
-
- DefaultDataSource(Context, String, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
-
Constructs a new instance, optionally configured to follow cross-protocol redirects.
- DefaultDataSource(Context, String, int, int, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
-
Constructs a new instance, optionally configured to follow cross-protocol redirects.
- DefaultDataSource(Context, DataSource) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSource
-
Constructs a new instance that delegates to a provided
DataSource for URI schemes other
than file, asset and content.
- DefaultDataSourceFactory - Class in com.google.android.exoplayer2.upstream
-
- DefaultDataSourceFactory(Context, String) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
-
- DefaultDataSourceFactory(Context, String, TransferListener) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
-
- DefaultDataSourceFactory(Context, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
-
- DefaultDataSourceFactory(Context, TransferListener, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.upstream.DefaultDataSourceFactory
-
- DefaultDownloaderFactory - Class in com.google.android.exoplayer2.offline
-
Default
DownloaderFactory, supporting creation of progressive, DASH, HLS and
SmoothStreaming downloaders.
- DefaultDownloaderFactory(DownloaderConstructorHelper) - Constructor for class com.google.android.exoplayer2.offline.DefaultDownloaderFactory
-
- DefaultDownloadIndex - Class in com.google.android.exoplayer2.offline
-
- DefaultDownloadIndex(DatabaseProvider) - Constructor for class com.google.android.exoplayer2.offline.DefaultDownloadIndex
-
- DefaultDownloadIndex(DatabaseProvider, String) - Constructor for class com.google.android.exoplayer2.offline.DefaultDownloadIndex
-
- DefaultDrmSessionEventListener - Interface in com.google.android.exoplayer2.drm
-
- DefaultDrmSessionManager<T extends ExoMediaCrypto> - Class in com.google.android.exoplayer2.drm
-
- DefaultDrmSessionManager(UUID, ExoMediaDrm<T>, MediaDrmCallback, HashMap<String, String>) - Constructor for class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
- DefaultDrmSessionManager(UUID, ExoMediaDrm<T>, MediaDrmCallback, HashMap<String, String>, boolean) - Constructor for class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
- DefaultDrmSessionManager(UUID, ExoMediaDrm<T>, MediaDrmCallback, HashMap<String, String>, boolean, int) - Constructor for class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
- DefaultDrmSessionManager.Builder - Class in com.google.android.exoplayer2.drm
-
- DefaultDrmSessionManager.MissingSchemeDataException - Exception in com.google.android.exoplayer2.drm
-
- DefaultDrmSessionManager.Mode - Annotation Type in com.google.android.exoplayer2.drm
-
Determines the action to be done after a session acquired.
- DefaultEventListener() - Constructor for class com.google.android.exoplayer2.Player.DefaultEventListener
-
Deprecated.
- DefaultExtractorInput - Class in com.google.android.exoplayer2.extractor
-
- DefaultExtractorInput(DataSource, long, long) - Constructor for class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- DefaultExtractorsFactory - Class in com.google.android.exoplayer2.extractor
-
- DefaultExtractorsFactory() - Constructor for class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
-
- DefaultHlsDataSourceFactory - Class in com.google.android.exoplayer2.source.hls
-
- DefaultHlsDataSourceFactory(DataSource.Factory) - Constructor for class com.google.android.exoplayer2.source.hls.DefaultHlsDataSourceFactory
-
- DefaultHlsExtractorFactory - Class in com.google.android.exoplayer2.source.hls
-
- DefaultHlsExtractorFactory() - Constructor for class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
-
- DefaultHlsExtractorFactory(int, boolean) - Constructor for class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
-
Creates a factory for HLS segment extractors.
- DefaultHlsPlaylistParserFactory - Class in com.google.android.exoplayer2.source.hls.playlist
-
- DefaultHlsPlaylistParserFactory() - Constructor for class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistParserFactory
-
- DefaultHlsPlaylistTracker - Class in com.google.android.exoplayer2.source.hls.playlist
-
- DefaultHlsPlaylistTracker(HlsDataSourceFactory, LoadErrorHandlingPolicy, HlsPlaylistParserFactory) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
Creates an instance.
- DefaultHlsPlaylistTracker(HlsDataSourceFactory, LoadErrorHandlingPolicy, HlsPlaylistParserFactory, double) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
Creates an instance.
- DefaultHttpDataSource - Class in com.google.android.exoplayer2.upstream
-
- DefaultHttpDataSource(String) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- DefaultHttpDataSource(String, int, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- DefaultHttpDataSource(String, int, int, boolean, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- DefaultHttpDataSource(String, Predicate<String>) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- DefaultHttpDataSource(String, Predicate<String>, int, int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- DefaultHttpDataSource(String, Predicate<String>, int, int, boolean, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- DefaultHttpDataSourceFactory - Class in com.google.android.exoplayer2.upstream
-
- DefaultHttpDataSourceFactory(String) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSourceFactory
-
Constructs a DefaultHttpDataSourceFactory.
- DefaultHttpDataSourceFactory(String, TransferListener) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSourceFactory
-
Constructs a DefaultHttpDataSourceFactory.
- DefaultHttpDataSourceFactory(String, int, int, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSourceFactory
-
- DefaultHttpDataSourceFactory(String, TransferListener, int, int, boolean) - Constructor for class com.google.android.exoplayer2.upstream.DefaultHttpDataSourceFactory
-
- defaultInitializationVector - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
-
- DefaultLoadControl - Class in com.google.android.exoplayer2
-
- DefaultLoadControl() - Constructor for class com.google.android.exoplayer2.DefaultLoadControl
-
Constructs a new instance, using the DEFAULT_* constants defined in this class.
- DefaultLoadControl(DefaultAllocator) - Constructor for class com.google.android.exoplayer2.DefaultLoadControl
-
- DefaultLoadControl(DefaultAllocator, int, int, int, int, int, boolean) - Constructor for class com.google.android.exoplayer2.DefaultLoadControl
-
- DefaultLoadControl(DefaultAllocator, int, int, int, int, int, int, boolean, int, boolean) - Constructor for class com.google.android.exoplayer2.DefaultLoadControl
-
- DefaultLoadControl.Builder - Class in com.google.android.exoplayer2
-
- DefaultLoadErrorHandlingPolicy - Class in com.google.android.exoplayer2.upstream
-
- DefaultLoadErrorHandlingPolicy() - Constructor for class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
-
Creates an instance with default behavior.
- DefaultLoadErrorHandlingPolicy(int) - Constructor for class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
-
- DefaultMediaItemConverter - Class in com.google.android.exoplayer2.ext.cast
-
- DefaultMediaItemConverter() - Constructor for class com.google.android.exoplayer2.ext.cast.DefaultMediaItemConverter
-
- DefaultMediaMetadataProvider(MediaControllerCompat, String) - Constructor for class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.DefaultMediaMetadataProvider
-
Creates a new instance.
- DefaultMediaSourceEventListener - Class in com.google.android.exoplayer2.source
-
- DefaultMediaSourceEventListener() - Constructor for class com.google.android.exoplayer2.source.DefaultMediaSourceEventListener
-
Deprecated.
- DefaultPlaybackSessionManager - Class in com.google.android.exoplayer2.analytics
-
Default
PlaybackSessionManager which instantiates a new session for each window in the
timeline and also for each ad within the windows.
- DefaultPlaybackSessionManager() - Constructor for class com.google.android.exoplayer2.analytics.DefaultPlaybackSessionManager
-
Creates session manager.
- defaultPositionUs - Variable in class com.google.android.exoplayer2.Timeline.Window
-
The default position relative to the start of the window at which to begin playback, in
microseconds.
- DefaultRenderersFactory - Class in com.google.android.exoplayer2
-
- DefaultRenderersFactory(Context) - Constructor for class com.google.android.exoplayer2.DefaultRenderersFactory
-
- DefaultRenderersFactory(Context, DrmSessionManager<FrameworkMediaCrypto>) - Constructor for class com.google.android.exoplayer2.DefaultRenderersFactory
-
- DefaultRenderersFactory(Context, int) - Constructor for class com.google.android.exoplayer2.DefaultRenderersFactory
-
- DefaultRenderersFactory(Context, DrmSessionManager<FrameworkMediaCrypto>, int) - Constructor for class com.google.android.exoplayer2.DefaultRenderersFactory
-
- DefaultRenderersFactory(Context, int, long) - Constructor for class com.google.android.exoplayer2.DefaultRenderersFactory
-
- DefaultRenderersFactory(Context, DrmSessionManager<FrameworkMediaCrypto>, int, long) - Constructor for class com.google.android.exoplayer2.DefaultRenderersFactory
-
- DefaultRenderersFactory.ExtensionRendererMode - Annotation Type in com.google.android.exoplayer2
-
Modes for using extension renderers.
- DefaultRenderersFactoryAsserts - Class in com.google.android.exoplayer2.testutil
-
- DefaultRenderersFactoryAsserts() - Constructor for class com.google.android.exoplayer2.testutil.DefaultRenderersFactoryAsserts
-
- DefaultSeekTimestampConverter() - Constructor for class com.google.android.exoplayer2.extractor.BinarySearchSeeker.DefaultSeekTimestampConverter
-
- DefaultShuffleOrder(int) - Constructor for class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
-
Creates an instance with a specified length.
- DefaultShuffleOrder(int, long) - Constructor for class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
-
Creates an instance with a specified length and the specified random seed.
- DefaultShuffleOrder(int[], long) - Constructor for class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
-
Creates an instance with a specified shuffle order and the specified random seed.
- DefaultSsChunkSource - Class in com.google.android.exoplayer2.source.smoothstreaming
-
- DefaultSsChunkSource(LoaderErrorThrower, SsManifest, int, TrackSelection, DataSource) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
-
- DefaultSsChunkSource.Factory - Class in com.google.android.exoplayer2.source.smoothstreaming
-
- DefaultTimeBar - Class in com.google.android.exoplayer2.ui
-
A time bar that shows a current position, buffered position, duration and ad markers.
- DefaultTimeBar(Context) - Constructor for class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- DefaultTimeBar(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- DefaultTimeBar(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- DefaultTimeBar(Context, AttributeSet, int, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- DefaultTrackNameProvider - Class in com.google.android.exoplayer2.ui
-
- DefaultTrackNameProvider(Resources) - Constructor for class com.google.android.exoplayer2.ui.DefaultTrackNameProvider
-
- DefaultTrackSelector - Class in com.google.android.exoplayer2.trackselection
-
- DefaultTrackSelector() - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- DefaultTrackSelector(BandwidthMeter) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- DefaultTrackSelector(TrackSelection.Factory) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- DefaultTrackSelector(Context) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- DefaultTrackSelector(Context, TrackSelection.Factory) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- DefaultTrackSelector(DefaultTrackSelector.Parameters, TrackSelection.Factory) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- DefaultTrackSelector.AudioTrackScore - Class in com.google.android.exoplayer2.trackselection
-
- DefaultTrackSelector.Parameters - Class in com.google.android.exoplayer2.trackselection
-
- DefaultTrackSelector.ParametersBuilder - Class in com.google.android.exoplayer2.trackselection
-
- DefaultTrackSelector.SelectionOverride - Class in com.google.android.exoplayer2.trackselection
-
A track selection override.
- DefaultTrackSelector.TextTrackScore - Class in com.google.android.exoplayer2.trackselection
-
- DefaultTsPayloadReaderFactory - Class in com.google.android.exoplayer2.extractor.ts
-
- DefaultTsPayloadReaderFactory() - Constructor for class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
-
- DefaultTsPayloadReaderFactory(int) - Constructor for class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
-
- DefaultTsPayloadReaderFactory(int, List<Format>) - Constructor for class com.google.android.exoplayer2.extractor.ts.DefaultTsPayloadReaderFactory
-
- DefaultTsPayloadReaderFactory.Flags - Annotation Type in com.google.android.exoplayer2.extractor.ts
-
Flags controlling elementary stream readers' behavior.
- Definition(TrackGroup, int...) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelection.Definition
-
- Definition(TrackGroup, int[], int, Object) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelection.Definition
-
- delay(long) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a delay between executing any previous actions and any subsequent ones.
- delete(File, DatabaseProvider) - Static method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
Deletes all content belonging to a cache instance.
- delete() - Method in class com.google.android.exoplayer2.util.AtomicFile
-
Delete the atomic file.
- deltaPicOrderAlwaysZeroFlag - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- depth - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
-
The color depth of the picture in bits-per-pixel.
- dequeueInputBuffer() - Method in interface com.google.android.exoplayer2.decoder.Decoder
-
Dequeues the next input buffer to be filled and queued to the decoder.
- dequeueInputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
- dequeueOutputBuffer() - Method in interface com.google.android.exoplayer2.decoder.Decoder
-
Dequeues the next output buffer from the decoder.
- dequeueOutputBuffer() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
- describeContents() - Method in class com.google.android.exoplayer2.drm.DrmInitData
-
- describeContents() - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
- describeContents() - Method in class com.google.android.exoplayer2.extractor.mp4.MdtaMetadataEntry
-
- describeContents() - Method in class com.google.android.exoplayer2.Format
-
- describeContents() - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
-
- describeContents() - Method in class com.google.android.exoplayer2.metadata.flac.PictureFrame
-
- describeContents() - Method in class com.google.android.exoplayer2.metadata.flac.VorbisComment
-
- describeContents() - Method in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
-
- describeContents() - Method in class com.google.android.exoplayer2.metadata.icy.IcyInfo
-
- describeContents() - Method in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
-
- describeContents() - Method in class com.google.android.exoplayer2.metadata.id3.Id3Frame
-
- describeContents() - Method in class com.google.android.exoplayer2.metadata.id3.MlltFrame
-
- describeContents() - Method in class com.google.android.exoplayer2.metadata.Metadata
-
- describeContents() - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceCommand
-
- describeContents() - Method in class com.google.android.exoplayer2.offline.DownloadRequest
-
- describeContents() - Method in class com.google.android.exoplayer2.offline.StreamKey
-
- describeContents() - Method in class com.google.android.exoplayer2.scheduler.Requirements
-
- describeContents() - Method in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
-
- describeContents() - Method in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
-
- describeContents() - Method in class com.google.android.exoplayer2.source.TrackGroup
-
- describeContents() - Method in class com.google.android.exoplayer2.source.TrackGroupArray
-
- describeContents() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- describeContents() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
-
- describeContents() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
-
- describeContents() - Method in class com.google.android.exoplayer2.video.ColorInfo
-
- description - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
-
A description of the picture.
- description - Variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
-
- description - Variable in class com.google.android.exoplayer2.metadata.id3.CommentFrame
-
- description - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
-
- description - Variable in class com.google.android.exoplayer2.metadata.id3.InternalFrame
-
- description - Variable in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
-
- description - Variable in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
-
- Descriptor - Class in com.google.android.exoplayer2.source.dash.manifest
-
A descriptor, as defined by ISO 23009-1, 2nd edition, 5.8.2.
- Descriptor(String, String, String) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Descriptor
-
- descriptorBytes - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
-
- DEVICE - Static variable in class com.google.android.exoplayer2.util.Util
-
Like
Build.DEVICE, but in a place where it can be conveniently overridden for local
testing.
- DEVICE_CHARGING - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
-
Requirement that the device is charging.
- DEVICE_DEBUG_INFO - Static variable in class com.google.android.exoplayer2.util.Util
-
A concise description of the device that it can be useful to log for debugging purposes.
- DEVICE_IDLE - Static variable in class com.google.android.exoplayer2.scheduler.Requirements
-
Requirement that the device is idle.
- diagnosticInfo - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderException
-
An optional developer-readable diagnostic information string.
- diagnosticInfo - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
-
An optional developer-readable diagnostic information string.
- DIMEN_UNSET - Static variable in class com.google.android.exoplayer2.text.Cue
-
An unset position, width or size.
- disable() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- disable() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- disable() - Method in interface com.google.android.exoplayer2.Renderer
-
- disable(MediaSource.MediaSourceCaller) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
-
- disable(MediaSource.MediaSourceCaller) - Method in interface com.google.android.exoplayer2.source.MediaSource
-
- disable() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
-
- disable() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- disable() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Disables this track selection.
- disable() - Method in class com.google.android.exoplayer2.video.VideoFrameReleaseTimeHelper
-
Disables the helper.
- disableChildSource(T) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
-
Disables a child source.
- disabled(DecoderCounters) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
-
- disabled(DecoderCounters) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
-
- disabledTextTrackSelectionFlags - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
-
Bitmask of selection flags that are disabled for text track selections.
- disableInternal() - Method in class com.google.android.exoplayer2.source.BaseMediaSource
-
- disableInternal() - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
-
- disableInternal() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- disableRenderer(int) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a renderer disable action.
- disableSeeking() - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
-
Disables the extractor from being able to seek through the media.
- disableTunneling() - Method in interface com.google.android.exoplayer2.audio.AudioSink
-
Disables tunneling.
- disableTunneling() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
- disableTunneling() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
-
- discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
Discards buffered media up to the specified position.
- discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
- discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- discardBuffer(long, boolean) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Discards buffered media up to the specified position.
- discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
-
- discardBuffer(long, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- discardSampleMetadataToRead() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
- discardTo(long, boolean, boolean) - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Discards up to but not including the sample immediately before or at the specified time.
- discardToEnd() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Discards all samples in the queue and advances the read position.
- discardToRead() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Discards up to but not including the read position.
- discardToSps(ByteBuffer) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
-
Discards data from the buffer up to the first SPS, where data.position() is interpreted
as the length of the buffer.
- discardUpstreamSamples(int) - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Discards samples from the write side of the queue.
- DISCONTINUITY_REASON_AD_INSERTION - Static variable in interface com.google.android.exoplayer2.Player
-
Discontinuity to or from an ad within one period in the timeline.
- DISCONTINUITY_REASON_INTERNAL - Static variable in interface com.google.android.exoplayer2.Player
-
Discontinuity introduced internally by the source.
- DISCONTINUITY_REASON_PERIOD_TRANSITION - Static variable in interface com.google.android.exoplayer2.Player
-
Automatic playback transition from one period in the timeline to the next.
- DISCONTINUITY_REASON_SEEK - Static variable in interface com.google.android.exoplayer2.Player
-
Seek within the current period or to another period.
- DISCONTINUITY_REASON_SEEK_ADJUSTMENT - Static variable in interface com.google.android.exoplayer2.Player
-
Seek adjustment due to being unable to seek to the requested position or because the seek was
permitted to be inexact.
- discontinuitySequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
The discontinuity sequence number of the first media segment in the playlist, as defined by
#EXT-X-DISCONTINUITY-SEQUENCE.
- dispatch(EventDispatcher.Event<T>) - Method in class com.google.android.exoplayer2.util.EventDispatcher
-
Dispatches an event to all registered listeners.
- dispatchDraw(Canvas) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
- dispatchKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
- dispatchKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- dispatchMediaKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Called to process media key events.
- dispatchMediaKeyEvent(KeyEvent) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Called to process media key events.
- dispatchSeekTo(Player, int, long) - Method in interface com.google.android.exoplayer2.ControlDispatcher
-
- dispatchSeekTo(Player, int, long) - Method in class com.google.android.exoplayer2.DefaultControlDispatcher
-
- dispatchSetPlayWhenReady(Player, boolean) - Method in interface com.google.android.exoplayer2.ControlDispatcher
-
- dispatchSetPlayWhenReady(Player, boolean) - Method in class com.google.android.exoplayer2.DefaultControlDispatcher
-
- dispatchSetRepeatMode(Player, int) - Method in interface com.google.android.exoplayer2.ControlDispatcher
-
- dispatchSetRepeatMode(Player, int) - Method in class com.google.android.exoplayer2.DefaultControlDispatcher
-
- dispatchSetShuffleModeEnabled(Player, boolean) - Method in interface com.google.android.exoplayer2.ControlDispatcher
-
- dispatchSetShuffleModeEnabled(Player, boolean) - Method in class com.google.android.exoplayer2.DefaultControlDispatcher
-
- dispatchStop(Player, boolean) - Method in interface com.google.android.exoplayer2.ControlDispatcher
-
- dispatchStop(Player, boolean) - Method in class com.google.android.exoplayer2.DefaultControlDispatcher
-
- dispatchTouchEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
- displayHeight - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- displayWidth - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- DO_NOT_OFFSET - Static variable in class com.google.android.exoplayer2.util.TimestampAdjuster
-
A special firstSampleTimestampUs value indicating that presentation timestamps should
not be offset.
- doActionAndScheduleNext(SimpleExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action
-
Executes the action and schedules the next.
- doActionAndScheduleNextImpl(SimpleExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action
-
Called by #doActionAndScheduleNext(SimpleExoPlayer, DefaultTrackSelector, Surface,
HandlerWrapper, ActionNode) to perform the action and to schedule the next action node.
- doActionAndScheduleNextImpl(SimpleExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action.PlayUntilPosition
-
- doActionAndScheduleNextImpl(SimpleExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForIsLoading
-
- doActionAndScheduleNextImpl(SimpleExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForPlaybackState
-
- doActionAndScheduleNextImpl(SimpleExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForPlayWhenReady
-
- doActionAndScheduleNextImpl(SimpleExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForPositionDiscontinuity
-
- doActionAndScheduleNextImpl(SimpleExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForSeekProcessed
-
- doActionAndScheduleNextImpl(SimpleExoPlayer, DefaultTrackSelector, Surface, HandlerWrapper, ActionSchedule.ActionNode) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForTimelineChanged
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.ClearVideoSurface
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action
-
Called by #doActionAndScheduleNextImpl(SimpleExoPlayer, DefaultTrackSelector, Surface,
HandlerWrapper, ActionNode) to perform the action.
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.ExecuteRunnable
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.PlayUntilPosition
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.PrepareSource
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.Seek
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SendMessages
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetAudioAttributes
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetPlaybackParameters
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetPlayWhenReady
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetRendererDisabled
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetRepeatMode
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetShuffleModeEnabled
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.SetVideoSurface
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.Stop
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.ThrowPlaybackException
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForIsLoading
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForPlaybackState
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForPlayWhenReady
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForPositionDiscontinuity
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForSeekProcessed
-
- doActionImpl(SimpleExoPlayer, DefaultTrackSelector, Surface) - Method in class com.google.android.exoplayer2.testutil.Action.WaitForTimelineChanged
-
- DolbyVisionConfig - Class in com.google.android.exoplayer2.video
-
Dolby Vision configuration data.
- domain - Variable in class com.google.android.exoplayer2.metadata.id3.InternalFrame
-
- DONT_RETRY - Static variable in class com.google.android.exoplayer2.upstream.Loader
-
Discards the failed
Loader.Loadable and ignores any errors that have occurred.
- DONT_RETRY_FATAL - Static variable in class com.google.android.exoplayer2.upstream.Loader
-
- Download - Class in com.google.android.exoplayer2.offline
-
Represents state of a download.
- Download(DownloadRequest, int, long, long, long, int, int) - Constructor for class com.google.android.exoplayer2.offline.Download
-
- Download(DownloadRequest, int, long, long, long, int, int, DownloadProgress) - Constructor for class com.google.android.exoplayer2.offline.Download
-
- download(Downloader.ProgressListener) - Method in interface com.google.android.exoplayer2.offline.Downloader
-
Downloads the content.
- download(Downloader.ProgressListener) - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloader
-
- download(Downloader.ProgressListener) - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
-
Downloads the selected streams in the media.
- Download.FailureReason - Annotation Type in com.google.android.exoplayer2.offline
-
Failure reasons.
- Download.State - Annotation Type in com.google.android.exoplayer2.offline
-
Download states.
- DownloadCursor - Interface in com.google.android.exoplayer2.offline
-
Provides random read-write access to the result set returned by a database query.
- Downloader - Interface in com.google.android.exoplayer2.offline
-
Downloads and removes a piece of content.
- Downloader.ProgressListener - Interface in com.google.android.exoplayer2.offline
-
Receives progress updates during download operations.
- DownloaderConstructorHelper - Class in com.google.android.exoplayer2.offline
-
A helper class that holds necessary parameters for
Downloader construction.
- DownloaderConstructorHelper(Cache, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.offline.DownloaderConstructorHelper
-
- DownloaderConstructorHelper(Cache, DataSource.Factory, DataSource.Factory, DataSink.Factory, PriorityTaskManager) - Constructor for class com.google.android.exoplayer2.offline.DownloaderConstructorHelper
-
- DownloaderConstructorHelper(Cache, DataSource.Factory, DataSource.Factory, DataSink.Factory, PriorityTaskManager, CacheKeyFactory) - Constructor for class com.google.android.exoplayer2.offline.DownloaderConstructorHelper
-
- DownloaderFactory - Interface in com.google.android.exoplayer2.offline
-
- DownloadException - Exception in com.google.android.exoplayer2.offline
-
Thrown on an error during downloading.
- DownloadException(String) - Constructor for exception com.google.android.exoplayer2.offline.DownloadException
-
- DownloadException(Throwable) - Constructor for exception com.google.android.exoplayer2.offline.DownloadException
-
- DownloadHelper - Class in com.google.android.exoplayer2.offline
-
A helper for initializing and removing downloads.
- DownloadHelper(String, Uri, String, MediaSource, DefaultTrackSelector.Parameters, RendererCapabilities[]) - Constructor for class com.google.android.exoplayer2.offline.DownloadHelper
-
Creates download helper.
- DownloadHelper.Callback - Interface in com.google.android.exoplayer2.offline
-
- DownloadHelper.LiveContentUnsupportedException - Exception in com.google.android.exoplayer2.offline
-
Thrown at an attempt to download live content.
- DownloadIndex - Interface in com.google.android.exoplayer2.offline
-
- downloadLicense(DrmInitData) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
-
Downloads an offline license.
- DownloadManager - Class in com.google.android.exoplayer2.offline
-
Manages downloads.
- DownloadManager(Context, DatabaseProvider, Cache, DataSource.Factory) - Constructor for class com.google.android.exoplayer2.offline.DownloadManager
-
- DownloadManager(Context, WritableDownloadIndex, DownloaderFactory) - Constructor for class com.google.android.exoplayer2.offline.DownloadManager
-
- DownloadManager.Listener - Interface in com.google.android.exoplayer2.offline
-
- DownloadNotificationHelper - Class in com.google.android.exoplayer2.ui
-
Helper for creating download notifications.
- DownloadNotificationHelper(Context, String) - Constructor for class com.google.android.exoplayer2.ui.DownloadNotificationHelper
-
- DownloadNotificationUtil - Class in com.google.android.exoplayer2.ui
-
- DownloadProgress - Class in com.google.android.exoplayer2.offline
-
- DownloadProgress() - Constructor for class com.google.android.exoplayer2.offline.DownloadProgress
-
- DownloadRequest - Class in com.google.android.exoplayer2.offline
-
Defines content to be downloaded.
- DownloadRequest(String, String, Uri, List<StreamKey>, String, byte[]) - Constructor for class com.google.android.exoplayer2.offline.DownloadRequest
-
- DownloadRequest.UnsupportedRequestException - Exception in com.google.android.exoplayer2.offline
-
Thrown when the encoded request data belongs to an unsupported request type.
- DownloadService - Class in com.google.android.exoplayer2.offline
-
- DownloadService(int) - Constructor for class com.google.android.exoplayer2.offline.DownloadService
-
Creates a DownloadService.
- DownloadService(int, long) - Constructor for class com.google.android.exoplayer2.offline.DownloadService
-
Creates a DownloadService.
- DownloadService(int, long, String, int) - Constructor for class com.google.android.exoplayer2.offline.DownloadService
-
- DownloadService(int, long, String, int, int) - Constructor for class com.google.android.exoplayer2.offline.DownloadService
-
Creates a DownloadService.
- downstreamFormatChanged(int, Format, int, Object, long) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
-
Dispatches #onDownstreamFormatChanged(int, MediaPeriodId, MediaLoadData).
- downstreamFormatChanged(MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
-
Dispatches #onDownstreamFormatChanged(int, MediaPeriodId, MediaLoadData).
- doWork() - Method in class com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler.SchedulerWorker
-
- DRAW_MODE_TRIANGLES - Static variable in class com.google.android.exoplayer2.video.spherical.Projection
-
Triangle draw mode.
- DRAW_MODE_TRIANGLES_FAN - Static variable in class com.google.android.exoplayer2.video.spherical.Projection
-
Triangle fan draw mode.
- DRAW_MODE_TRIANGLES_STRIP - Static variable in class com.google.android.exoplayer2.video.spherical.Projection
-
Triangle strip draw mode.
- drawableStateChanged() - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- drmConfiguration - Variable in class com.google.android.exoplayer2.ext.cast.MediaItem
-
- DrmConfiguration(UUID, Uri, Map<String, String>) - Constructor for class com.google.android.exoplayer2.ext.cast.MediaItem.DrmConfiguration
-
Creates an instance.
- DrmInitData - Class in com.google.android.exoplayer2.drm
-
Initialization data for one or more DRM schemes.
- DrmInitData(List<DrmInitData.SchemeData>) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData
-
- DrmInitData(String, List<DrmInitData.SchemeData>) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData
-
- DrmInitData(DrmInitData.SchemeData...) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData
-
- DrmInitData(String, DrmInitData.SchemeData...) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData
-
- drmInitData - Variable in class com.google.android.exoplayer2.Format
-
DRM initialization data if the stream is protected, or null otherwise.
- drmInitData - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
DRM initialization data for sample decryption, or null if the segment does not use CDM-DRM
protection.
- DrmInitData.SchemeData - Class in com.google.android.exoplayer2.drm
-
Scheme initialization data.
- drmSchemeDatas - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
-
- drmSchemeType - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
-
- DrmSession<T extends ExoMediaCrypto> - Interface in com.google.android.exoplayer2.drm
-
A DRM session.
- drmSession - Variable in class com.google.android.exoplayer2.FormatHolder
-
An accompanying context for decrypting samples in the format.
- DrmSession.DrmSessionException - Exception in com.google.android.exoplayer2.drm
-
Wraps the throwable which is the cause of the error state.
- DrmSession.State - Annotation Type in com.google.android.exoplayer2.drm
-
The state of the DRM session.
- DrmSessionException(Throwable) - Constructor for exception com.google.android.exoplayer2.drm.DrmSession.DrmSessionException
-
- DrmSessionManager<T extends ExoMediaCrypto> - Interface in com.google.android.exoplayer2.drm
-
Manages a DRM session.
- dropOutputBuffer(MediaCodec, int, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
Drops the output buffer with the specified index.
- dropOutputBuffer(VideoDecoderOutputBuffer) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Drops the specified output buffer and releases it.
- droppedBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The number of dropped buffers.
- droppedFrames(int, long) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
-
- droppedToKeyframeCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The number of times all buffers to a keyframe were dropped.
- DtsReader - Class in com.google.android.exoplayer2.extractor.ts
-
Parses a continuous DTS byte stream and extracts individual samples.
- DtsReader(String) - Constructor for class com.google.android.exoplayer2.extractor.ts.DtsReader
-
Constructs a new reader for DTS elementary streams.
- DtsUtil - Class in com.google.android.exoplayer2.audio
-
Utility methods for parsing DTS frames.
- DUMMY - Static variable in interface com.google.android.exoplayer2.drm.DrmSessionManager
-
- Dummy() - Constructor for class com.google.android.exoplayer2.upstream.LoaderErrorThrower.Dummy
-
- DummyDataSource - Class in com.google.android.exoplayer2.upstream
-
A dummy DataSource which provides no data.
- DummyExoMediaDrm<T extends ExoMediaCrypto> - Class in com.google.android.exoplayer2.drm
-
An
ExoMediaDrm that does not support any protection schemes.
- DummyExoMediaDrm() - Constructor for class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- DummyExtractorOutput - Class in com.google.android.exoplayer2.extractor
-
- DummyExtractorOutput() - Constructor for class com.google.android.exoplayer2.extractor.DummyExtractorOutput
-
- DummyMainThread - Class in com.google.android.exoplayer2.testutil
-
Helper class to simulate main/UI thread in tests.
- DummyMainThread() - Constructor for class com.google.android.exoplayer2.testutil.DummyMainThread
-
- DummyMainThread.TestRunnable - Interface in com.google.android.exoplayer2.testutil
-
Runnable variant which can throw a checked exception.
- DummySurface - Class in com.google.android.exoplayer2.video
-
- DummyTrackOutput - Class in com.google.android.exoplayer2.extractor
-
- DummyTrackOutput() - Constructor for class com.google.android.exoplayer2.extractor.DummyTrackOutput
-
- dump(Dumper) - Method in class com.google.android.exoplayer2.testutil.CapturingAudioSink
-
- dump(Dumper) - Method in interface com.google.android.exoplayer2.testutil.Dumper.Dumpable
-
Dumps the fields of the object using the dumper.
- dump(Dumper) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
-
- dump(Dumper) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
-
- Dumper - Class in com.google.android.exoplayer2.testutil
-
Helper utility to dump field values.
- Dumper() - Constructor for class com.google.android.exoplayer2.testutil.Dumper
-
- Dumper.Dumpable - Interface in com.google.android.exoplayer2.testutil
-
Provides custom dump method.
- durationMs - Variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
-
The duration of the event in milliseconds.
- durationMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
The duration of the presentation in milliseconds, or
C.TIME_UNSET if not applicable.
- durationsUs - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
-
The chunk durations, in microseconds.
- durationsUs - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
-
The durations of each ad in the ad group, in microseconds.
- durationUs - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
The duration of the track in microseconds, or
C.TIME_UNSET if unknown.
- durationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
The total duration of the playlist in microseconds.
- durationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
The duration of the segment in microseconds, as defined by #EXTINF.
- durationUs - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
The overall presentation duration of the media in microseconds, or
C.TIME_UNSET if the
duration is unknown.
- durationUs - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
-
- durationUs - Variable in class com.google.android.exoplayer2.Timeline.Period
-
The duration of this period in microseconds, or
C.TIME_UNSET if unknown.
- durationUs - Variable in class com.google.android.exoplayer2.Timeline.Window
-
The duration of this window in microseconds, or
C.TIME_UNSET if unknown.
- DvbDecoder - Class in com.google.android.exoplayer2.text.dvb
-
- DvbDecoder(List<byte[]>) - Constructor for class com.google.android.exoplayer2.text.dvb.DvbDecoder
-
- DvbSubtitleInfo(String, int, byte[]) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.DvbSubtitleInfo
-
- dvbSubtitleInfos - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
-
- DvbSubtitleReader - Class in com.google.android.exoplayer2.extractor.ts
-
Parses DVB subtitle data and extracts individual frames.
- DvbSubtitleReader(List<TsPayloadReader.DvbSubtitleInfo>) - Constructor for class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
-
- dvrWindowLengthUs - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
The length of the trailing window for a live broadcast in microseconds, or
C.TIME_UNSET
if the stream is not live or if the window length is unspecified.
- dynamic - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
Whether the manifest has value "dynamic" for the type attribute.
- GaplessInfoHolder - Class in com.google.android.exoplayer2.extractor
-
Holder for gapless playback information.
- GaplessInfoHolder() - Constructor for class com.google.android.exoplayer2.extractor.GaplessInfoHolder
-
Creates a new holder for gapless playback information.
- Gav1DecoderException - Exception in com.google.android.exoplayer2.ext.av1
-
Thrown when a libgav1 decoder error occurs.
- Gav1Library - Class in com.google.android.exoplayer2.ext.av1
-
Configures and queries the underlying native library.
- generateAudioSessionIdV21(Context) - Static method in class com.google.android.exoplayer2.C
-
Returns a newly generated audio session identifier, or
AudioManager.ERROR if an error
occurred in which case audio playback may fail.
- generateEventTime(Timeline, int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- generateKey(Uri) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheUtil
-
Generates a cache key out of the given
Uri.
- generateNewId() - Method in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.TrackIdGenerator
-
Generates a new set of track and track format ids.
- genre - Variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
-
The genre (icy-genre).
- GeobFrame - Class in com.google.android.exoplayer2.metadata.id3
-
GEOB (General Encapsulated Object) ID3 frame.
- GeobFrame(String, String, String, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.GeobFrame
-
- get(UUID) - Method in class com.google.android.exoplayer2.drm.DrmInitData
-
- get(int) - Method in class com.google.android.exoplayer2.drm.DrmInitData
-
- get(int) - Method in class com.google.android.exoplayer2.metadata.Metadata
-
Returns the entry at the specified index.
- get(int) - Method in class com.google.android.exoplayer2.source.TrackGroupArray
-
Returns the group at a given index.
- get(int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionArray
-
Returns the selection at a given index.
- get(String, byte[]) - Method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
-
Returns a metadata value.
- get(String, String) - Method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
-
Returns a metadata value.
- get(String, long) - Method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
-
Returns a metadata value.
- get(String, byte[]) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
-
- get(String, String) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
-
- get(String, long) - Method in class com.google.android.exoplayer2.upstream.cache.DefaultContentMetadata
-
- get(int) - Method in class com.google.android.exoplayer2.util.LongArray
-
Returns the value at a specified index.
- getAbandonedBeforeReadyRatio() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the ratio of foreground playbacks which were abandoned before they were ready to play,
or 0.0 if no playback has been in foreground.
- getAc4SampleHeader(int, ParsableByteArray) - Static method in class com.google.android.exoplayer2.audio.Ac4Util
-
Populates buffer with an AC-4 sample header for a sample of the specified size.
- getActionIndicesForCompactView(List<String>, Player) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Gets an array with the indices of the buttons to be shown in compact mode.
- getActions(Player) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Gets the names and order of the actions to be included in the notification at the current
player state.
- getActiveQueueItemId(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
-
Gets the id of the currently active queue item, or MediaSessionCompat.QueueItem#UNKNOWN_ID if the active item is unknown.
- getActiveQueueItemId(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
-
- getAdaptationSetIndex(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.Period
-
Returns the index of the first adaptation set of a given type, or
C.INDEX_UNSET if no
adaptation set of the specified type exists.
- getAdaptiveSupport(int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
-
- getAdaptiveSupport(int, int, boolean) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
Returns the extent to which a renderer supports adaptation between supported tracks in a
specified
TrackGroup.
- getAdaptiveSupport(int, int, int[]) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
Returns the extent to which a renderer supports adaptation between specified tracks within a
TrackGroup.
- getAdCountInAdGroup(int) - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the number of ads in the ad group at index
adGroupIndex, or
C.LENGTH_UNSET if not yet known.
- getAdDisplayContainer() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
Returns the AdDisplayContainer used by this loader.
- getAdditionalSessionProviders(Context) - Method in class com.google.android.exoplayer2.ext.cast.DefaultCastOptionsProvider
-
- getAdDurationUs(int, int) - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the duration of the ad at index
adIndexInAdGroup in the ad group at
adGroupIndex, in microseconds, or
C.TIME_UNSET if not yet known.
- getAdGroupCount() - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the number of ad groups in the period.
- getAdGroupIndexAfterPositionUs(long, long) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
Returns the index of the next ad group after positionUs that has ads remaining to be
played.
- getAdGroupIndexAfterPositionUs(long) - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the index of the next ad group after positionUs that has ads remaining to be
played.
- getAdGroupIndexForPositionUs(long) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState
-
Returns the index of the ad group at or before positionUs, if that ad group is
unplayed.
- getAdGroupIndexForPositionUs(long) - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the index of the ad group at or before positionUs, if that ad group is
unplayed.
- getAdGroupTimeUs(int) - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the time of the ad group at index adGroupIndex in the period, in
microseconds.
- getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- getAdjustedSeekPositionUs(long, SeekParameters) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
-
- getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
- getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
-
- getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- getAdjustedSeekPositionUs(long, SeekParameters) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Returns the position to which a seek will be performed, given the specified seek position and
SeekParameters.
- getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
-
- getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource
-
- getAdjustedSeekPositionUs(long, SeekParameters) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- getAdjustedUpstreamFormat(Format) - Method in class com.google.android.exoplayer2.source.SampleQueue
-
- getAdjuster(int) - Method in class com.google.android.exoplayer2.source.hls.TimestampAdjusterProvider
-
Returns a
TimestampAdjuster suitable for adjusting the pts timestamps contained in
a chunk with a given discontinuity sequence.
- getAdOverlayViews() - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader.AdViewProvider
-
Returns an array of views that are shown on top of the ad view group, but that are essential
for controlling playback and should be excluded from ad viewability measurements by the
AdsLoader (if it supports this).
- getAdOverlayViews() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- getAdProgress() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- getAdResumePositionUs() - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the position offset in the first unplayed ad at which to begin playback, in
microseconds.
- getAdsLoader() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
Returns the underlying com.google.ads.interactivemedia.v3.api.AdsLoader wrapped by
this instance.
- getAdViewGroup() - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader.AdViewProvider
-
Returns the
ViewGroup on top of the player that will show any ad UI.
- getAdViewGroup() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- getAll() - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionArray
-
Returns the selections in a newly allocated array.
- getAllData() - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
-
Returns a list of all data including defaultData.
- getAllocator() - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
- getAllocator() - Method in interface com.google.android.exoplayer2.LoadControl
-
Returns the
Allocator that should be used to obtain media buffer allocations.
- getAllTrackSelections() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelector
-
- getAnalyticsCollector() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getAndClearOpenedDataSpecs() - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
-
- getApplicationLooper() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getApplicationLooper() - Method in interface com.google.android.exoplayer2.Player
-
Returns the
Looper associated with the application thread that's used to access the
player and on which player events are received.
- getApplicationLooper() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getApplicationLooper() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getApproxBytesPerFrame() - Method in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Returns the approximate number of bytes per frame for the current FLAC stream.
- getApproximateBitrate() - Method in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
-
- getAttributes(int) - Static method in class com.google.android.exoplayer2.util.GlUtil
-
- getAttributeValue(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
-
Returns the value of an attribute of the current start tag.
- getAttributeValueIgnorePrefix(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
-
Returns the value of an attribute of the current start tag.
- getAudioAttributes() - Method in interface com.google.android.exoplayer2.Player.AudioComponent
-
Returns the attributes for audio playback.
- getAudioAttributes() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getAudioAttributesV21() - Method in class com.google.android.exoplayer2.audio.AudioAttributes
-
- getAudioComponent() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getAudioComponent() - Method in interface com.google.android.exoplayer2.Player
-
Returns the component of this player for audio output, or null if audio is not supported.
- getAudioComponent() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getAudioComponent() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getAudioContentTypeForStreamType(int) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the C.AudioContentType corresponding to the specified C.StreamType.
- getAudioDecoderCounters() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getAudioFormat() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Returns the audio format currently being played, or null if no audio is being played.
- getAudioMediaMimeType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Derives a audio sample mimeType from a codecs attribute.
- getAudioProcessors() - Method in interface com.google.android.exoplayer2.audio.DefaultAudioSink.AudioProcessorChain
-
Returns the fixed chain of audio processors that will process audio.
- getAudioProcessors() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
-
- getAudioSessionId() - Method in interface com.google.android.exoplayer2.Player.AudioComponent
-
- getAudioSessionId() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getAudioStreamType() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getAudioString() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
Returns a string containing audio debugging information.
- getAudioTrackChannelConfig(int) - Static method in class com.google.android.exoplayer2.util.Util
-
- getAudioUnderrunRate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean rate at which audio underruns occurred, in underruns per play time second, or
0.0 if no time was spent playing.
- getAudioUsageForStreamType(int) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the C.AudioUsage corresponding to the specified C.StreamType.
- getBackBufferDurationUs() - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
- getBackBufferDurationUs() - Method in interface com.google.android.exoplayer2.LoadControl
-
Returns the duration of media to retain in the buffer prior to the current playback position,
for fast backward seeking.
- getBackgroundColor() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- getBandwidthMeter() - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
-
Returns a bandwidth meter which can be used by track selections to select tracks.
- getBitmap(Context, String) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
-
Returns a
Bitmap read from an asset file.
- getBitRate() - Method in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Returns the bit-rate of the FLAC stream.
- getBitrateEstimate() - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter
-
Returns the estimated bitrate.
- getBitrateEstimate() - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- getBlacklistDurationMsFor(int, long, IOException, int) - Method in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
-
- getBlacklistDurationMsFor(int, long, IOException, int) - Method in interface com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy
-
Returns the number of milliseconds for which a resource associated to a provided load error
should be blacklisted, or
C.TIME_UNSET if the resource should not be blacklisted.
- getBufferedPercentage() - Method in class com.google.android.exoplayer2.BasePlayer
-
- getBufferedPercentage() - Method in interface com.google.android.exoplayer2.Player
-
Returns an estimate of the percentage in the current content window or ad up to which data is
buffered, or 0 if no estimate is available.
- getBufferedPosition() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getBufferedPosition() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
-
- getBufferedPosition() - Method in interface com.google.android.exoplayer2.Player
-
Returns an estimate of the position in the current content window or ad up to which data is
buffered, in milliseconds.
- getBufferedPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getBufferedPosition() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getBufferedPositionUs() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
Returns an estimate of the position up to which data is buffered.
- getBufferedPositionUs() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
- getBufferedPositionUs() - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
-
- getBufferedPositionUs() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- getBufferedPositionUs() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- getBufferedPositionUs() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Returns an estimate of the position up to which data is buffered for the enabled tracks.
- getBufferedPositionUs() - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
-
Returns an estimate of the position up to which data is buffered.
- getBufferedPositionUs() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
-
- getBufferedPositionUs() - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- getBuildConfig() - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
-
Returns the configuration string with which the underlying library was built if available, or
null otherwise.
- getByteArray(Context, String) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
-
Returns the bytes of an asset file.
- getBytePosition() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Returns the current byte offset.
- getBytesDownloaded() - Method in class com.google.android.exoplayer2.offline.Download
-
Returns the total number of downloaded bytes.
- getBytesFromHexString(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns a byte array containing values parsed from the hex string provided.
- getBytesRead() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
-
Returns the total number of bytes that have been read from the data source.
- getCache() - Method in class com.google.android.exoplayer2.offline.DownloaderConstructorHelper
-
Returns the
Cache instance.
- getCached(DataSpec, Cache, CacheKeyFactory) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheUtil
-
Queries the cache to obtain the request length and the number of bytes already cached for a
given
DataSpec.
- getCachedLength(String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Returns the length of the cached data block starting from the position to the block end
up to length bytes.
- getCachedLength(String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- getCachedSpans(String) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Returns the cached spans for a given cache key.
- getCachedSpans(String) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- getCacheKey() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
Returns a cache key for the representation if set, or null.
- getCacheKey() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getCacheKey() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
-
- getCacheKeyFactory() - Method in class com.google.android.exoplayer2.offline.DownloaderConstructorHelper
-
- getCacheSpace() - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Returns the total disk space in bytes used by the cache.
- getCacheSpace() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- getCapabilities(Context) - Static method in class com.google.android.exoplayer2.audio.AudioCapabilities
-
Returns the current audio capabilities for the device.
- getCapabilities() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- getCapabilities() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- getCapabilities() - Method in interface com.google.android.exoplayer2.Renderer
-
Returns the capabilities of the renderer.
- getCastOptions(Context) - Method in class com.google.android.exoplayer2.ext.cast.DefaultCastOptionsProvider
-
- getChunkCount() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet
-
- getChunkDuration(int) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet
-
- getChunkDurationUs(int) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
Returns the duration of the specified chunk.
- getChunkEndTimeUs() - Method in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
-
Returns the media end time of the chunk, in microseconds.
- getChunkEndTimeUs() - Method in class com.google.android.exoplayer2.source.chunk.MediaChunkListIterator
-
- getChunkEndTimeUs() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationSegmentIterator
-
- getChunkEndTimeUs() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet.Iterator
-
- getChunkEndTimeUs() - Method in class com.google.android.exoplayer2.testutil.FakeMediaChunkIterator
-
- getChunkIndex(long) - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
-
Obtains the index of the chunk corresponding to a given time.
- getChunkIndex(long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
Returns the index of the chunk that contains the specified time.
- getChunkIndexByPosition(long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet
-
- getChunkSource() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- getChunkStartTimeUs() - Method in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
-
Returns the media start time of the chunk, in microseconds.
- getChunkStartTimeUs() - Method in class com.google.android.exoplayer2.source.chunk.MediaChunkListIterator
-
- getChunkStartTimeUs() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationSegmentIterator
-
- getChunkStartTimeUs() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet.Iterator
-
- getChunkStartTimeUs() - Method in class com.google.android.exoplayer2.testutil.FakeMediaChunkIterator
-
- getCodec() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- getCodecInfo() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- getCodecMaxInputSize(MediaCodecInfo, Format, Format[]) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
Returns a maximum input size suitable for configuring a codec for format in a way that
will allow possible adaptation to other compatible formats in streamFormats.
- getCodecMaxValues(MediaCodecInfo, Format, Format[]) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- getCodecNeedsEosPropagation() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Returns whether the codec needs the renderer to propagate the end-of-stream signal directly,
rather than by using an end-of-stream buffer queued to the codec.
- getCodecNeedsEosPropagation() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- getCodecOperatingRateV23(float, Format, Format[]) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- getCodecOperatingRateV23(float, Format, Format[]) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- getCodecOperatingRateV23(float, Format, Format[]) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- getCodecProfileAndLevel(Format) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
-
Returns profile and level (as defined by
MediaCodecInfo.CodecProfileLevel) corresponding to the codec
description string (as defined by RFC 6381) of the given format.
- getCodecsOfType(String, int) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns a copy of codecs without the codecs whose track type doesn't match trackType.
- getCombinedPlaybackStats() - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
Returns the combined
PlaybackStats for all playback sessions this listener was and is
listening to.
- getCommaDelimitedSimpleClassNames(Object[]) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns a string with comma delimited simple names of each object's class.
- getCompressibleDataSpec(Uri) - Static method in class com.google.android.exoplayer2.offline.SegmentDownloader
-
- getConfiguration() - Method in class com.google.android.exoplayer2.BaseRenderer
-
Returns the configuration set when the renderer was most recently enabled.
- getConfiguration() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
Returns the configuration set when the renderer was most recently enabled, or null if
the renderer has never been enabled.
- getConnection() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
Returns the current connection, or null if the source is not currently opened.
- getContentBufferedPosition() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getContentBufferedPosition() - Method in interface com.google.android.exoplayer2.Player
-
If
Player.isPlayingAd() returns
true, returns an estimate of the content position in
the current content window up to which data is buffered, in milliseconds.
- getContentBufferedPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getContentBufferedPosition() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getContentDuration() - Method in class com.google.android.exoplayer2.BasePlayer
-
- getContentDuration() - Method in interface com.google.android.exoplayer2.Player
-
- getContentLength(ContentMetadata) - Static method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
-
- getContentMetadata(String) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
- getContentMetadata(String) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- getContentPosition() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getContentPosition() - Method in interface com.google.android.exoplayer2.Player
-
If
Player.isPlayingAd() returns
true, returns the content position that will be
played once all ads in the ad group have finished playing, in milliseconds.
- getContentPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getContentPosition() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getContentProgress() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- getContentType(Format) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- getControllerAutoShow() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Returns whether the playback controls are automatically shown when playback starts, pauses,
ends, or fails.
- getControllerHideOnTouch() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Returns whether the playback controls are hidden by touch events.
- getControllerShowTimeoutMs() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Returns the playback controls timeout.
- getCount() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
-
Returns the numbers of downloads in the cursor.
- getCount() - Method in class com.google.android.exoplayer2.testutil.CacheAsserts.RequestSet
-
- getCountryCode(Context) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the upper-case ISO 3166-1 alpha-2 country code of the current registered operator's MCC
(Mobile Country Code), or the country code of the default Locale if not available.
- getCreatedMediaPeriods() - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
-
Returns a list of MediaPeriodIds, with one element for each created media period.
- getCronetEngineSource() - Method in class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
-
Returns the source of the wrapped CronetEngine.
- getCues(long) - Method in interface com.google.android.exoplayer2.text.Subtitle
-
Retrieve the cues that should be displayed at a given time.
- getCues(long) - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
-
- getCurrentAdGroupIndex() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getCurrentAdGroupIndex() - Method in interface com.google.android.exoplayer2.Player
-
If
Player.isPlayingAd() returns true, returns the index of the ad group in the period
currently being played.
- getCurrentAdGroupIndex() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getCurrentAdGroupIndex() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getCurrentAdIndexInAdGroup() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getCurrentAdIndexInAdGroup() - Method in interface com.google.android.exoplayer2.Player
-
- getCurrentAdIndexInAdGroup() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getCurrentAdIndexInAdGroup() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getCurrentContentText(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
-
Gets the content text for the current media item.
- getCurrentContentTitle(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
-
Gets the content title for the current media item.
- getCurrentDisplayModeSize(Context) - Static method in class com.google.android.exoplayer2.util.Util
-
Gets the size of the current mode of the default display, in pixels.
- getCurrentDisplayModeSize(Context, Display) - Static method in class com.google.android.exoplayer2.util.Util
-
Gets the size of the current mode of the specified display, in pixels.
- getCurrentDownloads() - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Returns current downloads.
- getCurrentIndex() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
-
Returns the current index this iterator is pointing to.
- getCurrentLargeIcon(Player, PlayerNotificationManager.BitmapCallback) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
-
Gets the large icon for the current media item.
- getCurrentManifest() - Method in class com.google.android.exoplayer2.BasePlayer
-
- getCurrentManifest() - Method in interface com.google.android.exoplayer2.Player
-
Returns the current manifest.
- getCurrentMappedTrackInfo() - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
-
Returns the mapping information for the currently active track selection, or null if no
selection is currently active.
- getCurrentPeriodIndex() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getCurrentPeriodIndex() - Method in interface com.google.android.exoplayer2.Player
-
Returns the index of the period currently being played.
- getCurrentPeriodIndex() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getCurrentPeriodIndex() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getCurrentPosition() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getCurrentPosition() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
-
- getCurrentPosition() - Method in interface com.google.android.exoplayer2.Player
-
Returns the playback position in the current content window or ad, in milliseconds.
- getCurrentPosition() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getCurrentPosition() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getCurrentPositionUs(boolean) - Method in interface com.google.android.exoplayer2.audio.AudioSink
-
- getCurrentPositionUs(boolean) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
- getCurrentPositionUs(boolean) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
-
- getCurrentSubText(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.MediaDescriptionAdapter
-
Gets the content sub text for the current media item.
- getCurrentTag() - Method in class com.google.android.exoplayer2.BasePlayer
-
- getCurrentTag() - Method in interface com.google.android.exoplayer2.Player
-
Returns the tag of the currently playing window in the timeline.
- getCurrentTimeline() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getCurrentTimeline() - Method in interface com.google.android.exoplayer2.Player
-
- getCurrentTimeline() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getCurrentTimeline() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getCurrentTrackGroups() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getCurrentTrackGroups() - Method in interface com.google.android.exoplayer2.Player
-
Returns the available track groups.
- getCurrentTrackGroups() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getCurrentTrackGroups() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getCurrentTrackSelections() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getCurrentTrackSelections() - Method in interface com.google.android.exoplayer2.Player
-
Returns the current track selections for each renderer.
- getCurrentTrackSelections() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getCurrentTrackSelections() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getCurrentUrlRequest() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
Returns current UrlRequest.
- getCurrentUrlResponseInfo() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
Returns current UrlResponseInfo.
- getCurrentWindowIndex() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getCurrentWindowIndex() - Method in interface com.google.android.exoplayer2.Player
-
Returns the index of the window currently being played.
- getCurrentWindowIndex() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getCurrentWindowIndex() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getCustomAction(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.CustomActionProvider
-
Returns a PlaybackStateCompat.CustomAction which will be published to the media
session by the connector or null if this action should not be published at the given
player state.
- getCustomAction(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.RepeatModeActionProvider
-
- getCustomActions(Player) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.CustomActionReceiver
-
Gets the actions to be included in the notification given the current player state.
- getData() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
-
- getData() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.ProvisionRequest
-
- getData(int) - Method in class com.google.android.exoplayer2.testutil.CacheAsserts.RequestSet
-
- getData() - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
-
- getData(String) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
-
Returns the data for the given uri, or defaultData if no data is set.
- getData(Uri) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
-
Returns the data for the given uri, or defaultData if no data is set.
- getData() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSink
-
- getDataHolder() - Method in class com.google.android.exoplayer2.source.chunk.DataChunk
-
Returns the array in which the data is held.
- getDataSet() - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
-
- getDataSpec() - Method in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
-
Returns the
DataSpec used to load the media chunk.
- getDataSpec() - Method in class com.google.android.exoplayer2.source.chunk.MediaChunkListIterator
-
- getDataSpec() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationSegmentIterator
-
- getDataSpec(int) - Method in class com.google.android.exoplayer2.testutil.CacheAsserts.RequestSet
-
- getDataSpec() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet.Iterator
-
- getDataSpec() - Method in class com.google.android.exoplayer2.testutil.FakeMediaChunkIterator
-
- getDebugString() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
Returns the debugging information string to be shown by the target
TextView.
- getDecoderInfo(String, boolean, boolean) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
-
Returns information about the preferred decoder for a given mime type.
- getDecoderInfos(MediaCodecSelector, Format, boolean) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- getDecoderInfos(MediaCodecSelector, Format, boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Returns a list of decoders that can decode media in the specified format, in priority order.
- getDecoderInfos(String, boolean, boolean) - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecSelector
-
Returns a list of decoders that can decode media in the specified MIME type, in priority order.
- getDecoderInfos(String, boolean, boolean) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
-
- getDecoderInfos(MediaCodecSelector, Format, boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- getDecoderInfosSortedByFormatSupport(List<MediaCodecInfo>, Format) - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
-
Returns a copy of the provided decoder list sorted such that decoders with format support are
listed first.
- getDefaultArtwork() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Returns the default artwork to display.
- getDefaultPositionMs() - Method in class com.google.android.exoplayer2.Timeline.Window
-
Returns the default position relative to the start of the window at which to begin playback,
in milliseconds.
- getDefaultPositionUs() - Method in class com.google.android.exoplayer2.Timeline.Window
-
Returns the default position relative to the start of the window at which to begin playback,
in microseconds.
- getDefaultRequestProperties() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
-
- getDefaultRequestProperties() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource.Factory
-
Gets the default request properties used by all
HttpDataSources created by the
factory.
- getDefaults(Context) - Static method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
Returns an instance configured with default values.
- getDefaults(Context) - Static method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
-
Returns an instance configured with default values.
- getDefaultTrackSelectorParameters(Context) - Static method in class com.google.android.exoplayer2.offline.DownloadHelper
-
Returns the default parameters used for track selection for downloading.
- getDefaultUrl() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.ProvisionRequest
-
- getDeleteAfterDelivery() - Method in class com.google.android.exoplayer2.PlayerMessage
-
Returns whether the message will be deleted after delivery.
- getDequeueOutputBufferTimeoutUs() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Returns the maximum time to block whilst waiting for a decoded output buffer.
- getDownload(String) - Method in class com.google.android.exoplayer2.offline.DefaultDownloadIndex
-
- getDownload() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
-
Returns the download at the current position.
- getDownload(String) - Method in interface com.google.android.exoplayer2.offline.DownloadIndex
-
Returns the
Download with the given
id, or null.
- getDownloadIndex() - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
- getDownloadManager() - Method in class com.google.android.exoplayer2.offline.DownloadService
-
- getDownloadRequest(byte[]) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
-
- getDownloadRequest(String, byte[]) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
-
- getDownloads(int...) - Method in class com.google.android.exoplayer2.offline.DefaultDownloadIndex
-
- getDownloads(int...) - Method in interface com.google.android.exoplayer2.offline.DownloadIndex
-
- getDownloadsPaused() - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Returns whether downloads are currently paused.
- getDrmUuid(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Derives a DRM
UUID from
drmScheme.
- getDroppedFramesRate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean rate at which video frames are dropped, in dropped frames per play time
second, or 0.0 if no time was spent playing.
- getDtsFrameSize(byte[]) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
-
Returns the size in bytes of the given DTS frame.
- getDummyDrmSessionManager() - Static method in interface com.google.android.exoplayer2.drm.DrmSessionManager
-
- getDuration() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getDuration() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
-
- getDuration() - Method in interface com.google.android.exoplayer2.Player
-
Returns the duration of the current content window or ad in milliseconds, or
C.TIME_UNSET if the duration is not known.
- getDuration() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getDuration() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getDurationMs() - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the duration of the period in milliseconds, or
C.TIME_UNSET if unknown.
- getDurationMs() - Method in class com.google.android.exoplayer2.Timeline.Window
-
Returns the duration of the window in milliseconds, or
C.TIME_UNSET if unknown.
- getDurationUs() - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.BinarySearchSeekMap
-
- getDurationUs() - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
-
- getDurationUs() - Method in class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
-
- getDurationUs() - Method in class com.google.android.exoplayer2.extractor.FlacSeekTableSeekMap
-
- getDurationUs() - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- getDurationUs() - Method in interface com.google.android.exoplayer2.extractor.SeekMap
-
Returns the duration of the stream in microseconds.
- getDurationUs() - Method in class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
-
- getDurationUs() - Method in class com.google.android.exoplayer2.source.chunk.Chunk
-
Returns the duration of the chunk in microseconds.
- getDurationUs(long, long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
-
Returns the duration of a segment.
- getDurationUs(long, long) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
-
- getDurationUs(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getDurationUs() - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the duration of this period in microseconds, or
C.TIME_UNSET if unknown.
- getDurationUs() - Method in class com.google.android.exoplayer2.Timeline.Window
-
Returns the duration of this window in microseconds, or
C.TIME_UNSET if unknown.
- getDurationUs() - Method in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Returns the duration of the FLAC stream in microseconds, or
C.TIME_UNSET if the total
number of samples if unknown.
- getEditedValues() - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
-
Returns a map of metadata name, value pairs to be set.
- getElementType(int) - Method in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
-
Maps an element ID to a corresponding type.
- getElementType(int) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
Maps an element ID to a corresponding type.
- getEncoding(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Returns the
C.ENCODING_* constant that corresponds to specified MIME type, if
it is an encoded (non-PCM) audio format, or
C.ENCODING_INVALID otherwise.
- getEndedRatio() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the ratio of foreground playbacks which reached the ended state at least once, or
0.0 if no playback has been in foreground.
- getEndTimeUs() - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
Returns the result of adding the duration of the playlist to its start time.
- getError() - Method in interface com.google.android.exoplayer2.drm.DrmSession
-
- getError() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
-
- getErrorMessage(T) - Method in interface com.google.android.exoplayer2.util.ErrorMessageProvider
-
Returns a pair consisting of an error code and a user readable error message for the given
throwable.
- getEventTime(int) - Method in interface com.google.android.exoplayer2.text.Subtitle
-
Returns the event time at a specified index.
- getEventTime(int) - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
-
- getEventTimeCount() - Method in interface com.google.android.exoplayer2.text.Subtitle
-
Returns the number of event times, where events are defined as points in time at which the cues
returned by
Subtitle.getCues(long) changes.
- getEventTimeCount() - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
-
- getExoMediaCryptoType(DrmInitData) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
- getExoMediaCryptoType(DrmInitData) - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager
-
- getExoMediaCryptoType() - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- getExoMediaCryptoType() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- getExoMediaCryptoType() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- getExtractorInputFromPosition(DataSource, long, Uri) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
-
Returns an
ExtractorInput to read from the given input at given position.
- getFatalErrorRate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the rate of fatal errors, in errors per play time second, or 0.0 if no time was
spend playing.
- getFatalErrorRatio() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the ratio of foreground playbacks which experienced fatal errors, or 0.0 if no
playback has been in foreground.
- getFirstAdIndexToPlay() - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
-
- getFirstAdIndexToPlay(int) - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the index of the first ad in the specified ad group that should be played, or the
number of ads in the ad group if no ads should be played.
- getFirstAvailableSegmentNum(DashManifest, int, long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- getFirstIndex() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Returns the current absolute start index.
- getFirstIndex() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
-
- getFirstIndex() - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
-
Returns the first index in the shuffle order, or
C.INDEX_UNSET if the shuffle order is
empty.
- getFirstIndex() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
-
- getFirstIndex() - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
-
- getFirstSampleIndex(int) - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
-
Returns the index of the first sample in the specified track of the output that will originate
from this chunk.
- getFirstSampleNumber(ExtractorInput, FlacStreamMetadata) - Static method in class com.google.android.exoplayer2.extractor.FlacFrameReader
-
Returns the number of the first sample in the given frame.
- getFirstSampleTimestampUs() - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
-
- getFirstSegmentNum() - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
-
Returns the segment number of the first segment.
- getFirstSegmentNum() - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
-
- getFirstSegmentNum() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- getFirstSegmentNum() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getFirstSegmentNum() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
-
- getFirstTimestampUs() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Returns the timestamp of the first sample, or
Long.MIN_VALUE if the queue is empty.
- getFirstWindowIndex(boolean) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
-
- getFirstWindowIndex(boolean) - Method in class com.google.android.exoplayer2.Timeline
-
Returns the index of the first window in the playback order depending on whether shuffling is
enabled.
- getFlag(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
-
Returns whether the specified flag has been set on this buffer.
- getFontColor() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- getFontFamily() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- getFontSize() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- getFontSizeUnit() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- getForegroundNotification(List<Download>) - Method in class com.google.android.exoplayer2.offline.DownloadService
-
Returns a notification to be displayed when this service running in the foreground.
- getFormat(int) - Method in class com.google.android.exoplayer2.source.TrackGroup
-
Returns the format of the track at a given index.
- getFormat(int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
-
- getFormat(int) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- getFormat(int) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the format of the track at a given index in the selection.
- getFormat(byte[], Metadata) - Method in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Returns a
Format extracted from the FLAC stream metadata.
- getFormatHolder() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- getFormatId() - Method in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.TrackIdGenerator
-
Returns the last generated format id, with the format "programNumber/trackId".
- getFormatLanguageScore(Format, String, boolean) - Static method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
Returns a score for how well a language specified in a
Format matches a given language.
- getFormatSupport(int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
-
- getFormatSupportString(int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
-
- getFrameSampleCount(int) - Static method in class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
Returns the number of samples per frame associated with
header, or
C.LENGTH_UNSET if it is invalid.
- getFrameSize(int) - Static method in class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
Returns the size of the frame associated with
header, or
C.LENGTH_UNSET if it
is invalid.
- getFrameStartMarker(ExtractorInput) - Static method in class com.google.android.exoplayer2.extractor.FlacMetadataReader
-
Returns the frame start marker, consisting of the 2 first bytes of the first frame.
- getFrameworkCryptoInfo() - Method in class com.google.android.exoplayer2.decoder.CryptoInfo
-
- getFrameworkCryptoInfoV16() - Method in class com.google.android.exoplayer2.decoder.CryptoInfo
-
- getH265NalUnitType(byte[], int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
-
Returns the type of the H.265 NAL unit in data that starts at offset.
- getHandler() - Method in class com.google.android.exoplayer2.PlayerMessage
-
Returns the handler the message is delivered on.
- getHttpMethodString() - Method in class com.google.android.exoplayer2.upstream.DataSpec
-
Returns an uppercase HTTP method name (e.g., "GET", "POST", "HEAD") corresponding to the
DataSpec.httpMethod.
- getId(DownloadRequest) - Method in interface com.google.android.exoplayer2.offline.ActionFileUpgradeUtil.DownloadIdProvider
-
Returns a download id for given request.
- getIndex() - Method in class com.google.android.exoplayer2.BaseRenderer
-
Returns the index of the renderer within the player.
- getIndex() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
Returns the index of the renderer within the player.
- getIndex() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
Returns an index if the representation provides one directly, or null otherwise.
- getIndex() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getIndex() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
-
- getIndex() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SingleSegmentBase
-
- getIndexInTrackGroup(int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
-
- getIndexInTrackGroup(int) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- getIndexInTrackGroup(int) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the index in the track group of the track at a given index in the selection.
- getIndexOfPeriod(Object) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
-
- getIndexOfPeriod(Object) - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
- getIndexOfPeriod(Object) - Method in class com.google.android.exoplayer2.testutil.FakeTimeline
-
- getIndexOfPeriod(Object) - Method in class com.google.android.exoplayer2.Timeline
-
- getIndexUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
Returns a
RangedUri defining the location of the representation's segment index, or
null if the representation provides an index directly.
- getIndexUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getIndexUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
-
- getIndividualAllocationLength() - Method in interface com.google.android.exoplayer2.upstream.Allocator
-
- getIndividualAllocationLength() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
-
- getInitialization(Representation) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase
-
Returns the
RangedUri defining the location of initialization data for a given
representation, or null if no initialization data exists.
- getInitialization(Representation) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate
-
- getInitializationUri() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
Returns a
RangedUri defining the location of the representation's initialization data,
or null if no initialization data exists.
- getInitialStartTimeUs() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
- getInitialStartTimeUs() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
-
Returns the start time of the first loaded primary playlist, or
C.TIME_UNSET if no
media playlist has been loaded.
- getInMemoryDatabaseProvider() - Static method in class com.google.android.exoplayer2.testutil.TestUtil
-
- getInputStream(Context, String) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
-
- getInstance() - Static method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
Returns a new instance.
- getIntegerCodeForString(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the integer equal to the big-endian concatenation of the characters in string
as bytes.
- getIsDisabled() - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
-
Returns whether the renderer is disabled.
- getItem(int) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
Returns the item that corresponds to the period with the given id, or null if no media queue or
period with id periodId exist.
- getJoinTimeRatio() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the ratio of foreground join time to the total time spent playing and waiting, or
0.0 if no time was spend playing or waiting.
- getKeyId() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyStatus
-
- getKeyRequest(byte[], List<DrmInitData.SchemeData>, int, HashMap<String, String>) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- getKeyRequest(byte[], List<DrmInitData.SchemeData>, int, HashMap<String, String>) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
Generates a key request.
- getKeyRequest(byte[], List<DrmInitData.SchemeData>, int, HashMap<String, String>) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- getKeys() - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Returns all keys in the cache.
- getKeys() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- getLargestQueuedTimestampUs() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
- getLastAdjustedTimestampUs() - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
-
- getLastAvailableSegmentNum(DashManifest, int, long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- getLastIndex() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
-
- getLastIndex() - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
-
Returns the last index in the shuffle order, or
C.INDEX_UNSET if the shuffle order is
empty.
- getLastIndex() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
-
- getLastIndex() - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
-
- getLastOpenedUri() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
-
- getLastResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
-
- getLastWindowIndex(boolean) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
-
- getLastWindowIndex(boolean) - Method in class com.google.android.exoplayer2.Timeline
-
Returns the index of the last window in the playback order depending on whether shuffling is
enabled.
- getLength() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- getLength() - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Returns the length of the source stream, or
C.LENGTH_UNSET if it is unknown.
- getLength() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
-
- getLength() - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
-
Returns length of shuffle order.
- getLength() - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
-
- getLength() - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
- getLength() - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
-
- getLicenseDurationRemainingSec(byte[]) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
-
Returns the remaining license and playback durations in seconds, for an offline license.
- getLicenseDurationRemainingSec(DrmSession<?>) - Static method in class com.google.android.exoplayer2.drm.WidevineUtil
-
Returns license and playback durations remaining in seconds.
- getLicenseServerUrl() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyRequest
-
- getListeners() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
Returns read-only set of registered listeners.
- getLocaleLanguageTag(Locale) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the language tag for a
Locale.
- getLogLevel() - Static method in class com.google.android.exoplayer2.util.Log
-
Returns current LogLevel for ExoPlayer logcat logging.
- getLogStackTraces() - Method in class com.google.android.exoplayer2.util.Log
-
Returns whether stack traces of
Throwables will be logged to logcat.
- getLooper() - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
-
- getLooper() - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the
Looper associated with the current thread, or the
Looper of the
application's main thread if the current thread doesn't have a
Looper.
- getManifest() - Method in class com.google.android.exoplayer2.offline.DownloadHelper
-
Returns the manifest, or null if no manifest is loaded.
- getManifest(DataSource, DataSpec) - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
-
Loads and parses the manifest.
- getManifest(DataSource, DataSpec) - Method in class com.google.android.exoplayer2.source.dash.offline.DashDownloader
-
- getManifest(DataSource, DataSpec) - Method in class com.google.android.exoplayer2.source.hls.offline.HlsDownloader
-
- getManifest(DataSource, DataSpec) - Method in class com.google.android.exoplayer2.source.smoothstreaming.offline.SsDownloader
-
- getMappedTrackInfo(int) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
-
Returns the mapped track info for the given period.
- getMasterPlaylist() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
- getMasterPlaylist() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
-
Returns the master playlist.
- getMaxChannelCount() - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
-
Returns the maximum number of channels the device can play at the same time.
- getMaxDecodedFrameSize() - Method in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Returns the maximum size for a decoded frame from the FLAC stream.
- getMaxParallelDownloads() - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Returns the maximum number of parallel downloads.
- getMaxSupportedInstances() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
- getMeanAudioFormatBitrate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean audio format bitrate, in bits per second, or
C.LENGTH_UNSET if no
audio format data is available.
- getMeanBandwidth() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean network bandwidth based on transfer measurements, in bits per second, or
C.LENGTH_UNSET if no transfer data is available.
- getMeanElapsedTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean time covered by any playback state per playback, in milliseconds, or
C.TIME_UNSET if no playback was recorded.
- getMeanInitialAudioFormatBitrate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean initial audio format bitrate, in bits per second, or
C.LENGTH_UNSET if
no audio format data is available.
- getMeanInitialVideoFormatBitrate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean initial video format bitrate, in bits per second, or
C.LENGTH_UNSET if
no video format data is available.
- getMeanInitialVideoFormatHeight() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean initial video format height, in pixels, or
C.LENGTH_UNSET if no video
format data is available.
- getMeanJoinTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean time spent joining the playback, in milliseconds, or
C.TIME_UNSET if
no valid join time is available.
- getMeanNonFatalErrorCount() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean number of non-fatal errors per foreground playback, or 0.0 if no
playback has been in foreground.
- getMeanPauseBufferCount() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean number of times a playback has been paused while rebuffering per foreground
playback, or 0.0 if no playback has been in foreground.
- getMeanPauseCount() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean number of times a playback has been paused per foreground playback, or 0.0 if no playback has been in foreground.
- getMeanPausedTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean time spent in a paused state per foreground playback, in milliseconds, or
C.TIME_UNSET if no playback has been in foreground.
- getMeanPlayAndWaitTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean time spent playing or actively waiting for playback per foreground playback,
in milliseconds, or
C.TIME_UNSET if no playback has been in foreground.
- getMeanPlayTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean time spent actively playing per foreground playback, in milliseconds, or
C.TIME_UNSET if no playback has been in foreground.
- getMeanRebufferCount() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean number of times a rebuffer occurred per foreground playback, or 0.0 if
no playback has been in foreground.
- getMeanRebufferTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean time spent rebuffering per foreground playback, in milliseconds, or
C.TIME_UNSET if no playback has been in foreground.
- getMeanSeekCount() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean number of times a seek occurred per foreground playback, or 0.0 if no
playback has been in foreground.
- getMeanSeekTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean time spent per foreground playback from the start of a seek until playback is
ready again, in milliseconds, or
C.TIME_UNSET if no playback has been in foreground.
- getMeanSingleRebufferTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean time spent during a single rebuffer, in milliseconds, or
C.TIME_UNSET
if no rebuffer was recorded.
- getMeanSingleSeekTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean time spent from the start of a single seek until playback is ready again, in
milliseconds, or
C.TIME_UNSET if no seek occurred.
- getMeanTimeBetweenFatalErrors() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean play time between fatal errors, in seconds.
- getMeanTimeBetweenNonFatalErrors() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean play time between non-fatal errors, in seconds.
- getMeanTimeBetweenRebuffers() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean play time between rebuffer events, in seconds.
- getMeanVideoFormatBitrate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean video format bitrate, in bits per second, or
C.LENGTH_UNSET if no
video format data is available.
- getMeanVideoFormatHeight() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean video format height, in pixels, or
C.LENGTH_UNSET if no video format
data is available.
- getMeanWaitTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the mean time spent actively waiting for playback per foreground playback, in
milliseconds, or
C.TIME_UNSET if no playback has been in foreground.
- getMediaClock() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- getMediaClock() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- getMediaClock() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- getMediaClock() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- getMediaClock() - Method in interface com.google.android.exoplayer2.Renderer
-
If the renderer advances its own playback position then this method returns a corresponding
MediaClock.
- getMediaClock() - Method in class com.google.android.exoplayer2.testutil.FakeMediaClockRenderer
-
- getMediaCrypto() - Method in interface com.google.android.exoplayer2.drm.DrmSession
-
Returns a
ExoMediaCrypto for the open session, or null if called before the session has
been opened or after it's been released.
- getMediaCrypto() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
-
- getMediaDescription(Player, int) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
-
- getMediaDuration(long) - Method in interface com.google.android.exoplayer2.audio.DefaultAudioSink.AudioProcessorChain
-
Scales the specified playout duration to take into account speedup due to audio processing,
returning an input media duration, in arbitrary units.
- getMediaDuration(long) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
-
- getMediaDurationForPlayoutDuration(long, float) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the duration of media that will elapse in playoutDuration.
- getMediaFormat(Format, String, int, float) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- getMediaFormat(Format, String, MediaCodecVideoRenderer.CodecMaxValues, float, boolean, int) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
Returns the framework
MediaFormat that should be used to configure the decoder.
- getMediaMimeType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Derives a mimeType from a codec identifier, as defined in RFC 6381.
- getMediaPeriodIdForChildMediaPeriodId(MediaSource.MediaPeriodId, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
-
- getMediaPeriodIdForChildMediaPeriodId(T, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
-
Returns the MediaPeriodId in the composite source corresponding to the specified MediaPeriodId in a child source.
- getMediaPeriodIdForChildMediaPeriodId(ConcatenatingMediaSource.MediaSourceHolder, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- getMediaPeriodIdForChildMediaPeriodId(Void, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
-
- getMediaPeriodIdForChildMediaPeriodId(Void, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
-
- getMediaPeriodIdForChildMediaPeriodId(Integer, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
-
- getMediaSource(int) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- getMediaTimeForChildMediaTime(Void, long) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
-
- getMediaTimeForChildMediaTime(T, long) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
-
Returns the media time in the composite source corresponding to the specified media time in a
child source.
- getMediaTimeMsAtRealtimeMs(long) - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the estimated media time at the given realtime, in milliseconds, or
C.TIME_UNSET if the media time history is unknown.
- getMediaTimeUsForPlayoutTimeMs(long) - Method in class com.google.android.exoplayer2.PlaybackParameters
-
Returns the media time in microseconds that will elapse in timeMs milliseconds of
wallclock time.
- getMetadata(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.DefaultMediaMetadataProvider
-
- getMetadata(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.MediaMetadataProvider
-
- getMetadataComponent() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getMetadataComponent() - Method in interface com.google.android.exoplayer2.Player
-
Returns the component of this player for metadata output, or null if metadata is not supported.
- getMetadataComponent() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getMetadataComponent() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getMetadataCopyWithAppendedEntriesFrom(Metadata) - Method in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Returns a copy of the content metadata with entries from other appended.
- getMetrics() - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- getMetrics() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
Returns drm metrics.
- getMetrics() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- getMimeTypeFromMp4ObjectType(int) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Derives a mimeType from MP4 object type identifier, as defined in RFC 6381 and
https://mp4ra.org/#/object_types.
- getMinDurationToRetainAfterDiscardUs() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
-
- getMinimumLoadableRetryCount(int) - Method in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
-
- getMinimumLoadableRetryCount(int) - Method in interface com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy
-
Returns the minimum number of times to retry a load in the case of a load error, before
propagating the error.
- getMinRetryCount() - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Returns the minimum number of times that a download will be retried.
- getNalUnitType(byte[], int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
-
Returns the type of the NAL unit in data that starts at offset.
- getName() - Method in interface com.google.android.exoplayer2.decoder.Decoder
-
Returns the name of the decoder.
- getName() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
-
- getName() - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
-
- getName() - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- getNetworkType(Context) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the C.NetworkType of the current network connection.
- getNextAdIndexToPlay(int) - Method in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
-
Returns the index of the next ad in the ad group that should be played after playing
lastPlayedAdIndex, or
AdPlaybackState.AdGroup.count if no later ads should be played.
- getNextAdIndexToPlay(int, int) - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the index of the next ad in the specified ad group that should be played after
playing adIndexInAdGroup, or the number of ads in the ad group if no later ads should
be played.
- getNextChunk(long, long, List<? extends MediaChunk>, ChunkHolder) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
-
Returns the next chunk to load.
- getNextChunk(long, long, List<? extends MediaChunk>, ChunkHolder) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
-
- getNextChunk(long, long, List<? extends MediaChunk>, ChunkHolder) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
-
- getNextChunk(long, long, List<? extends MediaChunk>, ChunkHolder) - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource
-
- getNextChunkIndex() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
-
- getNextChunkIndex() - Method in class com.google.android.exoplayer2.source.chunk.MediaChunk
-
Returns the next chunk index or
C.INDEX_UNSET if it is not known.
- getNextEventTimeIndex(long) - Method in interface com.google.android.exoplayer2.text.Subtitle
-
Returns the index of the first event that occurs after a given time (exclusive).
- getNextEventTimeIndex(long) - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
-
- getNextIndex(int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
-
- getNextIndex(int) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
-
Returns the next index in the shuffle order.
- getNextIndex(int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
-
- getNextIndex(int) - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
-
- getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
- getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
-
- getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- getNextLoadPositionUs() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
- getNextLoadPositionUs() - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
-
- getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
-
- getNextLoadPositionUs() - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- getNextPeriodIndex(int, Timeline.Period, Timeline.Window, int, boolean) - Method in class com.google.android.exoplayer2.Timeline
-
Returns the index of the period after the period at index periodIndex depending on the
repeatMode and whether shuffling is enabled.
- getNextRepeatMode(int, int) - Static method in class com.google.android.exoplayer2.util.RepeatModeUtil
-
Gets the next repeat mode out of enabledModes starting from currentMode.
- getNextWindowIndex() - Method in class com.google.android.exoplayer2.BasePlayer
-
- getNextWindowIndex() - Method in interface com.google.android.exoplayer2.Player
-
Returns the index of the next timeline window to be played, which may depend on the current
repeat mode and whether shuffle mode is enabled.
- getNextWindowIndex(int, int, boolean) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
-
- getNextWindowIndex(int, int, boolean) - Method in class com.google.android.exoplayer2.Timeline
-
Returns the index of the window after the window at index windowIndex depending on the
repeatMode and whether shuffling is enabled.
- getNonFatalErrorRate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the rate of non-fatal errors, in errors per play time second, or 0.0 if no time
was spend playing.
- getNotMetRequirements() - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Returns the requirements needed for downloads to progress that are not currently met.
- getNotMetRequirements(Context) - Method in class com.google.android.exoplayer2.scheduler.Requirements
-
Returns requirements that are not met, or 0.
- getOfflineLicenseKeySetId() - Method in interface com.google.android.exoplayer2.drm.DrmSession
-
Returns the key set id of the offline license loaded into this session, or null if there isn't
one.
- getOfflineLicenseKeySetId() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
-
- getOngoing(Player) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Returns whether the generated notification should be ongoing.
- getOutOfMemoryError() - Method in exception com.google.android.exoplayer2.ExoPlaybackException
-
- getOutput() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
-
Returns a buffer containing processed output data between its position and limit.
- getOutput() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
-
- getOutput() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
-
- getOutput() - Method in class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
-
Deprecated.
- getOutput() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
-
- getOutputFormat() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
Returns the format of audio buffers output by the decoder.
- getOutputFormat() - Method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
-
- getOutputFormat() - Method in class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
-
- getOutputFormat() - Method in class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
-
- getOutputStreamOffsetUs() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- getOverlayFrameLayout() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Gets the overlay
FrameLayout, which can be populated with UI elements to show on top of
the player.
- getOverrides() - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
-
Returns the list of selected track selection overrides.
- getParameters() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
Gets the current selection parameters.
- getPassthroughDecoderInfo() - Method in interface com.google.android.exoplayer2.mediacodec.MediaCodecSelector
-
Selects a decoder to instantiate for audio passthrough.
- getPassthroughDecoderInfo() - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
-
Returns information about a decoder suitable for audio passthrough.
- getPassthroughEncoding(int, String) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
Returns the
C.Encoding constant to use for passthrough of the given format, or
C.ENCODING_INVALID if passthrough is not possible.
- getPayload() - Method in class com.google.android.exoplayer2.PlayerMessage
-
- getPcmEncoding(int) - Static method in class com.google.android.exoplayer2.util.Util
-
Converts a sample bit depth to a corresponding PCM encoding constant.
- getPcmEncodingForType(int, int) - Static method in class com.google.android.exoplayer2.audio.WavUtil
-
Returns the
C.PcmEncoding for the given WAVE format type value, or
C.ENCODING_INVALID if the type is not a known PCM type.
- getPcmFrameSize(int, int) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the frame size for audio with channelCount channels in the specified encoding.
- getPeekPosition() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- getPeekPosition() - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Returns the current peek position (byte offset) in the stream.
- getPeekPosition() - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
- getPercentDownloaded() - Method in class com.google.android.exoplayer2.offline.Download
-
Returns the estimated download percentage, or
C.PERCENTAGE_UNSET if no estimate is
available.
- getPercentile(float) - Method in class com.google.android.exoplayer2.util.SlidingPercentile
-
Computes a percentile by integration.
- getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.source.ads.SinglePeriodAdTimeline
-
- getPeriod(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
-
- getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
- getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeTimeline
-
- getPeriod(int, Timeline.Period) - Method in class com.google.android.exoplayer2.Timeline
-
Populates a
Timeline.Period with data for the period at the specified index.
- getPeriod(int, Timeline.Period, boolean) - Method in class com.google.android.exoplayer2.Timeline
-
Populates a
Timeline.Period with data for the period at the specified index.
- getPeriodByUid(Object, Timeline.Period) - Method in class com.google.android.exoplayer2.Timeline
-
Populates a
Timeline.Period with data for the period with the specified unique identifier.
- getPeriodCount() - Method in class com.google.android.exoplayer2.offline.DownloadHelper
-
Returns the number of periods for which media is available.
- getPeriodCount() - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- getPeriodCount() - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
-
- getPeriodCount() - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
- getPeriodCount() - Method in class com.google.android.exoplayer2.testutil.FakeTimeline
-
- getPeriodCount() - Method in class com.google.android.exoplayer2.Timeline
-
Returns the number of periods in the timeline.
- getPeriodDurationMs(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- getPeriodDurationUs(int) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- getPeriodPosition(Timeline.Window, Timeline.Period, int, long) - Method in class com.google.android.exoplayer2.Timeline
-
- getPeriodPosition(Timeline.Window, Timeline.Period, int, long, long) - Method in class com.google.android.exoplayer2.Timeline
-
Converts (windowIndex, windowPositionUs) to the corresponding (periodUid, periodPositionUs).
- getPixelCount() - Method in class com.google.android.exoplayer2.Format
-
- getPlaybackError() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getPlaybackError() - Method in interface com.google.android.exoplayer2.Player
-
Returns the error that caused playback to fail.
- getPlaybackError() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getPlaybackError() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getPlaybackLooper() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Returns the
Looper associated with the playback thread.
- getPlaybackLooper() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getPlaybackLooper() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getPlaybackParameters() - Method in interface com.google.android.exoplayer2.audio.AudioSink
-
- getPlaybackParameters() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
- getPlaybackParameters() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
-
- getPlaybackParameters() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- getPlaybackParameters() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- getPlaybackParameters() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getPlaybackParameters() - Method in interface com.google.android.exoplayer2.Player
-
Returns the currently active playback parameters.
- getPlaybackParameters() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getPlaybackParameters() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getPlaybackParameters() - Method in interface com.google.android.exoplayer2.util.MediaClock
-
Returns the active playback parameters.
- getPlaybackParameters() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
-
- getPlaybackState() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getPlaybackState() - Method in interface com.google.android.exoplayer2.Player
-
- getPlaybackState() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getPlaybackState() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getPlaybackStateAtTime(long) - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the PlaybackState at the given time.
- getPlaybackStateDurationMs(int) - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the total time spent in a given PlaybackState, in milliseconds.
- getPlaybackStats() - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
Returns the
PlaybackStats for the currently playback session, or null if no session is
active.
- getPlaybackSuppressionReason() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getPlaybackSuppressionReason() - Method in interface com.google.android.exoplayer2.Player
-
- getPlaybackSuppressionReason() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getPlaybackSuppressionReason() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getPlayer() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Returns the
Player currently being controlled by this view, or null if no player is
set.
- getPlayer() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Returns the player currently set on this view, or null if no player is set.
- getPlayerStateString() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
Returns a string containing player state debugging information.
- getPlaylistSnapshot(Uri, boolean) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
- getPlaylistSnapshot(Uri, boolean) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
-
Returns the most recent snapshot available of the playlist referenced by the provided
Uri.
- getPlayoutDurationForMediaDuration(long, float) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the playout duration of mediaDuration of media.
- getPlayWhenReady() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getPlayWhenReady() - Method in interface com.google.android.exoplayer2.Player
-
- getPlayWhenReady() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getPlayWhenReady() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getPosition() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- getPosition() - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Returns the current read position (byte offset) in the stream.
- getPosition() - Method in class com.google.android.exoplayer2.extractor.VorbisBitArray
-
Returns the reading position in bits.
- getPosition() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
-
Returns the current position of the cursor in the download set.
- getPosition() - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
- getPosition() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Returns the current bit offset.
- getPosition() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Returns the current offset in the array, in bytes.
- getPositionInFirstPeriodMs() - Method in class com.google.android.exoplayer2.Timeline.Window
-
Returns the position of the start of this window relative to the start of the first period
belonging to it, in milliseconds.
- getPositionInFirstPeriodUs() - Method in class com.google.android.exoplayer2.Timeline.Window
-
Returns the position of the start of this window relative to the start of the first period
belonging to it, in microseconds.
- getPositionInWindowMs() - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the position of the start of this period relative to the start of the window to which
it belongs, in milliseconds.
- getPositionInWindowUs() - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns the position of the start of this period relative to the start of the window to which
it belongs, in microseconds.
- getPositionMs() - Method in class com.google.android.exoplayer2.PlayerMessage
-
- getPositionUs() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- getPositionUs() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- getPositionUs() - Method in interface com.google.android.exoplayer2.util.MediaClock
-
Returns the current media position in microseconds.
- getPositionUs() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
-
- getPreferredQueueSize(long, List<? extends MediaChunk>) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
-
Evaluates whether
MediaChunks should be removed from the back of the queue.
- getPreferredQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
-
- getPreferredQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
-
- getPreferredQueueSize(long, List<? extends MediaChunk>) - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource
-
- getPreferredUpdateDelay() - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- getPreferredUpdateDelay() - Method in interface com.google.android.exoplayer2.ui.TimeBar
-
Returns the preferred delay in milliseconds of media time after which the time bar position
should be updated.
- getPreparePositionUs() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
Returns the position at which the masking media period was prepared, in microseconds.
- getPresentationTimeOffsetUs() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase
-
Returns the presentation time offset, in microseconds.
- getPreviousIndex(int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.DefaultShuffleOrder
-
- getPreviousIndex(int) - Method in interface com.google.android.exoplayer2.source.ShuffleOrder
-
Returns the previous index in the shuffle order.
- getPreviousIndex(int) - Method in class com.google.android.exoplayer2.source.ShuffleOrder.UnshuffledShuffleOrder
-
- getPreviousIndex(int) - Method in class com.google.android.exoplayer2.testutil.FakeShuffleOrder
-
- getPreviousWindowIndex() - Method in class com.google.android.exoplayer2.BasePlayer
-
- getPreviousWindowIndex() - Method in interface com.google.android.exoplayer2.Player
-
Returns the index of the previous timeline window to be played, which may depend on the current
repeat mode and whether shuffle mode is enabled.
- getPreviousWindowIndex(int, int, boolean) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
-
- getPreviousWindowIndex(int, int, boolean) - Method in class com.google.android.exoplayer2.Timeline
-
Returns the index of the window before the window at index windowIndex depending on the
repeatMode and whether shuffling is enabled.
- getPriorityTaskManager() - Method in class com.google.android.exoplayer2.offline.DownloaderConstructorHelper
-
- getProfileLevels() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
The profile levels supported by the decoder.
- getPropertyByteArray(String) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- getPropertyByteArray(String) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- getPropertyByteArray(String) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- getPropertyString(String) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- getPropertyString(String) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- getPropertyString(String) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- getProvisionRequest() - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- getProvisionRequest() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- getProvisionRequest() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- getReadableDatabase() - Method in interface com.google.android.exoplayer2.database.DatabaseProvider
-
Creates and/or opens a database.
- getReadableDatabase() - Method in class com.google.android.exoplayer2.database.DefaultDatabaseProvider
-
- getReadIndex() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Returns the current absolute read index.
- getReadingPositionUs() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- getReadingPositionUs() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- getReadingPositionUs() - Method in interface com.google.android.exoplayer2.Renderer
-
- getRebufferRate() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the rate of rebuffer events, in rebuffers per play time second, or 0.0 if no
time was spend playing.
- getRebufferTimeRatio() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the ratio of rebuffer time to the total time spent playing and waiting, or 0.0
if no time was spend playing or waiting.
- getRedirectedUri(ContentMetadata) - Static method in interface com.google.android.exoplayer2.upstream.cache.ContentMetadata
-
- getRegionEndTimeMs(long) - Method in class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
-
When provided with a byte offset, this method locates the cached region within which the
offset falls, and returns the approximate end position in milliseconds of that region.
- getRemovedValues() - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
-
Returns a list of names of metadata values to be removed.
- getRendererCapabilities(RenderersFactory) - Static method in class com.google.android.exoplayer2.util.Util
-
Extract renderer capabilities for the renderers created by the provided renderers factory.
- getRendererCount() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getRendererCount() - Method in interface com.google.android.exoplayer2.Player
-
Returns the number of renderers.
- getRendererCount() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getRendererCount() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getRendererCount() - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
Returns the number of renderers.
- getRendererDisabled(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- getRendererDisabled(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
Returns whether the renderer is disabled.
- getRendererException() - Method in exception com.google.android.exoplayer2.ExoPlaybackException
-
- getRendererSupport(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
Returns the extent to which a renderer can play the tracks that are mapped to it.
- getRendererType(int) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getRendererType(int) - Method in interface com.google.android.exoplayer2.Player
-
Returns the track type that the renderer at a given index handles.
- getRendererType(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getRendererType(int) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getRendererType(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
Returns the track type that the renderer at a given index handles.
- getRepeatMode() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getRepeatMode() - Method in interface com.google.android.exoplayer2.Player
-
- getRepeatMode() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getRepeatMode() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getRepeatToggleModes() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Returns which repeat toggle modes are enabled.
- getRequirements() - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Returns the requirements needed to be met to progress.
- getRequirements() - Method in class com.google.android.exoplayer2.scheduler.Requirements
-
Returns the requirements.
- getRequirements() - Method in class com.google.android.exoplayer2.scheduler.RequirementsWatcher
-
- getResizeMode() - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
- getResizeMode() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- getResponseCode() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
- getResponseCode() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
-
- getResponseCode() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- getResponseCode() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
- getResponseHeaders() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
- getResponseHeaders() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
-
- getResponseHeaders() - Method in class com.google.android.exoplayer2.source.chunk.Chunk
-
- getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
- getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
-
- getResponseHeaders() - Method in interface com.google.android.exoplayer2.upstream.DataSource
-
- getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
-
- getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- getResponseHeaders() - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
- getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
-
Returns the response headers associated with the load.
- getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
-
- getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
-
- getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
-
- getResponseHeaders() - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
-
- getResult() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
-
Returns the loaded object, or null if an object has not been loaded.
- getRetryDelayMsFor(int, long, IOException, int) - Method in class com.google.android.exoplayer2.upstream.DefaultLoadErrorHandlingPolicy
-
- getRetryDelayMsFor(int, long, IOException, int) - Method in interface com.google.android.exoplayer2.upstream.LoadErrorHandlingPolicy
-
Returns the number of milliseconds to wait before attempting the load again, or
C.TIME_UNSET if the error is fatal and should not be retried.
- getRuntimeExceptionForUnexpected() - Method in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
-
- getSampleCount() - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
-
- getSampleCryptoData(int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
-
- getSampleData(int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
-
- getSampleDescriptionEncryptionBox(int) - Method in class com.google.android.exoplayer2.extractor.mp4.Track
-
- getSampleDurationUs() - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
-
Returns the duration in microseconds per sample, or
C.TIME_UNSET if the sample duration
is not available.
- getSampleFlags(int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
-
- getSampleFormats() - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
-
Returns the sample
Formats most recently output by the extractor, or null.
- getSampleNumber(long) - Method in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Returns the sample number of the sample at a given time.
- getSampleTimesUs() - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
-
- getSampleTimeUs(int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
-
- getScheduler() - Method in class com.google.android.exoplayer2.offline.DownloadService
-
Returns a
Scheduler to restart the service when requirements allowing downloads to take
place are met.
- getSeekMap() - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
-
Returns the seek map for the stream.
- getSeekMap() - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
-
Returns the
SeekMap most recently output by the extractor, or null.
- getSeekParameters() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
- getSeekParameters() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getSeekParameters() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.BinarySearchSeekMap
-
- getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
-
- getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
-
- getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.FlacSeekTableSeekMap
-
- getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- getSeekPoints(long) - Method in interface com.google.android.exoplayer2.extractor.SeekMap
-
Obtains seek points for the specified seek time in microseconds.
- getSeekPoints(long) - Method in class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
-
- getSeekTimeRatio() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the ratio of seek time to the total time spent playing and waiting, or 0.0 if
no time was spend playing or waiting.
- getSegmentCount(long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
-
- getSegmentCount(long) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
-
- getSegmentCount() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- getSegmentCount(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getSegmentCount(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
-
- getSegmentCount(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentList
-
- getSegmentCount(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate
-
- getSegmentDurationUs(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
-
- getSegmentEndTimeUs(long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- getSegmentNum(long, long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
-
Returns getFirstSegmentNum() if the index has no segments or if the given media time is
earlier than the start of the first segment.
- getSegmentNum(long, long) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
-
- getSegmentNum(long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- getSegmentNum(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getSegmentNum(long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
-
- getSegments(DataSource, M, boolean) - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
-
- getSegments(DataSource, DashManifest, boolean) - Method in class com.google.android.exoplayer2.source.dash.offline.DashDownloader
-
- getSegments(DataSource, HlsPlaylist, boolean) - Method in class com.google.android.exoplayer2.source.hls.offline.HlsDownloader
-
- getSegments(DataSource, SsManifest, boolean) - Method in class com.google.android.exoplayer2.source.smoothstreaming.offline.SsDownloader
-
- getSegments() - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
-
- getSegmentStartTimeUs(long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- getSegmentTimeUs(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
-
- getSegmentUrl(long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
-
Returns a
RangedUri defining the location of a segment.
- getSegmentUrl(long) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
-
- getSegmentUrl(long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- getSegmentUrl(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getSegmentUrl(Representation, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
-
Returns a
RangedUri defining the location of a segment for the given index in the
given representation.
- getSegmentUrl(Representation, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentList
-
- getSegmentUrl(Representation, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate
-
- getSelectedFormat() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
-
- getSelectedFormat() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- getSelectedFormat() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the
Format of the individual selected track.
- getSelectedIndex() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
-
- getSelectedIndex() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
-
- getSelectedIndex() - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection
-
- getSelectedIndex() - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection
-
- getSelectedIndex() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the index of the selected track.
- getSelectedIndexInTrackGroup() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
-
- getSelectedIndexInTrackGroup() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- getSelectedIndexInTrackGroup() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the index in the track group of the individual selected track.
- getSelectionData() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
-
- getSelectionData() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
-
- getSelectionData() - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection
-
- getSelectionData() - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection
-
- getSelectionData() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns optional data associated with the current track selection.
- getSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- getSelectionOverride(int, TrackGroupArray) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- getSelectionReason() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
-
- getSelectionReason() - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
-
- getSelectionReason() - Method in class com.google.android.exoplayer2.trackselection.FixedTrackSelection
-
- getSelectionReason() - Method in class com.google.android.exoplayer2.trackselection.RandomTrackSelection
-
- getSelectionReason() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the reason for the current track selection.
- getSessionForMediaPeriodId(Timeline, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.analytics.DefaultPlaybackSessionManager
-
- getSessionForMediaPeriodId(Timeline, MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager
-
Returns the session identifier for the given media period id.
- getShowShuffleButton() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Returns whether the shuffle button is shown.
- getShowTimeoutMs() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Returns the playback controls timeout.
- getShowVrButton() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Returns whether the VR button is shown.
- getShuffleModeEnabled() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getShuffleModeEnabled() - Method in interface com.google.android.exoplayer2.Player
-
Returns whether shuffling of windows is enabled.
- getShuffleModeEnabled() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getShuffleModeEnabled() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getSingletonInstance(Context) - Static method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- getSize() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
Returns the number of media sources in the playlist.
- getSkippedFrames() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
-
Returns the total number of frames of input audio that were skipped due to being classified as
silence since the last call to
BaseAudioProcessor.flush().
- getSkippedOutputFrameCount() - Method in interface com.google.android.exoplayer2.audio.DefaultAudioSink.AudioProcessorChain
-
Returns the number of output audio frames skipped since the audio processors were last
flushed.
- getSkippedOutputFrameCount() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink.DefaultAudioProcessorChain
-
- getSnapshot() - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
-
Gets a snapshot of the request properties.
- getSourceException() - Method in exception com.google.android.exoplayer2.ExoPlaybackException
-
- getSpecificityScore(String, String, String[], String) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
Returns a value in a score system compliant with the CSS Specificity rules.
- getStartTime(int) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet
-
- getStartTimeUs(int) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
Returns the start time of the specified chunk.
- getState() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- getState() - Method in interface com.google.android.exoplayer2.drm.DrmSession
-
- getState() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
-
- getState() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- getState() - Method in interface com.google.android.exoplayer2.Renderer
-
Returns the current state of the renderer.
- getStatusCode() - Method in class com.google.android.exoplayer2.drm.ExoMediaDrm.KeyStatus
-
- getStream() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- getStream() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- getStream() - Method in interface com.google.android.exoplayer2.Renderer
-
Returns the
SampleStream being consumed, or null if the renderer is disabled.
- getStreamFormats() - Method in class com.google.android.exoplayer2.BaseRenderer
-
Returns the formats of the currently enabled stream.
- getStreamKeys(List<TrackSelection>) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- getStreamKeys(List<TrackSelection>) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Returns a list of
StreamKeys which allow to filter the media in this period
to load only the parts needed to play the provided
TrackSelections.
- getStreamTypeForAudioUsage(int) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the C.StreamType corresponding to the specified C.AudioUsage.
- getString(Context, String) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
-
Returns a
String read from an asset file.
- getStringForHttpMethod(int) - Static method in class com.google.android.exoplayer2.upstream.DataSpec
-
Returns an uppercase HTTP method name (e.g., "GET", "POST", "HEAD") corresponding to the httpMethod.
- getStringForTime(StringBuilder, Formatter, long) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the specified millisecond time formatted as a string.
- getStyle() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- getSubFrame(int) - Method in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
-
Returns the sub-frame at index.
- getSubFrame(int) - Method in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
-
Returns the sub-frame at index.
- getSubFrameCount() - Method in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
-
Returns the number of sub-frames.
- getSubFrameCount() - Method in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
-
Returns the number of sub-frames.
- getSubMesh(int) - Method in class com.google.android.exoplayer2.video.spherical.Projection.Mesh
-
Returns the SubMesh for the given index.
- getSubMeshCount() - Method in class com.google.android.exoplayer2.video.spherical.Projection.Mesh
-
Returns the number of sub meshes.
- getSubtitleView() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- getSupportedPrepareActions() - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
-
Returns the actions which are supported by the preparer.
- getSupportedQueueNavigatorActions(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
-
Returns the actions which are supported by the navigator.
- getSupportedQueueNavigatorActions(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
-
- getSupportedTypes() - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
-
- getSupportedTypes() - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
-
Deprecated.
- getSupportedTypes() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
-
- getSupportedTypes() - Method in interface com.google.android.exoplayer2.source.MediaSourceFactory
-
Returns the content types supported by media sources created by this
factory.
- getSupportedTypes() - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
-
- getSupportedTypes() - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
-
- getSurface() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- getSurfaceTexture() - Method in class com.google.android.exoplayer2.util.EGLSurfaceTexture
-
- getSystemLanguageCodes() - Static method in class com.google.android.exoplayer2.util.Util
-
Returns a non-empty array of normalized IETF BCP 47 language tags for the system languages
ordered by preference.
- getTag() - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
-
- getTag() - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
-
- getTag() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- getTag() - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- getTag() - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
-
Deprecated.
- getTag() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
-
- getTag() - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
-
- getTag() - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
-
- getTag() - Method in interface com.google.android.exoplayer2.source.MediaSource
-
Returns the tag set on the media source, or null if none was set.
- getTag() - Method in class com.google.android.exoplayer2.source.MergingMediaSource
-
- getTag() - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
-
- getTag() - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- getTag() - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- getTag() - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
-
- getTarget() - Method in class com.google.android.exoplayer2.PlayerMessage
-
Returns the target the message is sent to.
- getTextAlign() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- getTextComponent() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getTextComponent() - Method in interface com.google.android.exoplayer2.Player
-
Returns the component of this player for text output, or null if text is not supported.
- getTextComponent() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getTextComponent() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getThrowableString(Throwable) - Static method in class com.google.android.exoplayer2.util.Log
-
- getTimeline() - Method in class com.google.android.exoplayer2.PlayerMessage
-
- getTimeline() - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
-
- getTimestampOffsetUs() - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
-
- getTimeUs(long) - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
-
Returns the start time of a segment.
- getTimeUs(long) - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
-
- getTimeUs(long) - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- getTimeUsAtPosition(long) - Method in class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
-
Returns the stream time in microseconds for a given position.
- getTotalBufferCount(DecoderCounters) - Static method in class com.google.android.exoplayer2.testutil.DecoderCountersUtil
-
Returns the sum of the skipped, dropped and rendered buffers.
- getTotalBufferedDuration() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getTotalBufferedDuration() - Method in interface com.google.android.exoplayer2.Player
-
Returns an estimate of the total buffered duration from the current position, in milliseconds.
- getTotalBufferedDuration() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getTotalBufferedDuration() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getTotalBytesAllocated() - Method in interface com.google.android.exoplayer2.upstream.Allocator
-
Returns the total number of bytes currently allocated.
- getTotalBytesAllocated() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
-
- getTotalElapsedTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the total time covered by any playback state, in milliseconds.
- getTotalJoinTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the total time spent joining the playback in foreground, in milliseconds.
- getTotalPausedTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the total time spent in a paused state, in milliseconds.
- getTotalPlayAndWaitTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the total time spent playing or actively waiting for playback, in milliseconds.
- getTotalPlayTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the total time spent actively playing, in milliseconds.
- getTotalRebufferTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the total time spent rebuffering, in milliseconds.
- getTotalSeekTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the total time spent from the start of a seek until playback is ready again, in
milliseconds.
- getTotalWaitTimeMs() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the total time spent actively waiting for playback, in milliseconds.
- getTrackFormatSupport(int, int, int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
- getTrackGroup() - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
-
- getTrackGroup() - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- getTrackGroup() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the
TrackGroup to which the selected tracks belong.
- getTrackGroups(int) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
-
Returns the track groups for the given period.
- getTrackGroups() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
- getTrackGroups() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- getTrackGroups() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- getTrackGroups() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
- getTrackGroups() - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- getTrackGroups(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
Returns the
TrackGroups mapped to the renderer at the specified index.
- getTrackId() - Method in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.TrackIdGenerator
-
Returns the last generated track id.
- getTrackName(Format) - Method in class com.google.android.exoplayer2.ui.DefaultTrackNameProvider
-
- getTrackName(Format) - Method in interface com.google.android.exoplayer2.ui.TrackNameProvider
-
Returns a user readable track name for the given
Format.
- getTrackOutputProvider(BaseMediaChunkOutput) - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
-
- getTrackSelections(int, int) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
-
- getTrackSupport(int, int, int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
Returns the extent to which an individual track is supported by the renderer.
- getTrackType() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- getTrackType() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- getTrackType() - Method in interface com.google.android.exoplayer2.Renderer
-
Returns the track type that the
Renderer handles.
- getTrackType() - Method in interface com.google.android.exoplayer2.RendererCapabilities
-
Returns the track type that the
Renderer handles.
- getTrackType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Returns the
C.TRACK_TYPE_* constant that corresponds to a specified MIME type.
- getTrackTypeOfCodec(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Equivalent to getTrackType(getMediaMimeType(codec)).
- getTrackTypeRendererSupport(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
- getTrackTypeString(int) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns a string representation of a
TRACK_TYPE_* constant defined in
C.
- getTransferListener() - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter
-
Returns the
TransferListener that this instance uses to gather bandwidth information
from data transfers.
- getTransferListener() - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- getTunnelingSupport(int) - Static method in interface com.google.android.exoplayer2.RendererCapabilities
-
- getType() - Method in class com.google.android.exoplayer2.PlayerMessage
-
- getTypeForPcmEncoding(int) - Static method in class com.google.android.exoplayer2.audio.WavUtil
-
Returns the WAVE format type value for the given C.PcmEncoding.
- getTypeSupport(int) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
Returns the extent to which tracks of a specified type are supported.
- getUid() - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Returns a non-negative unique identifier for the cache, or
Cache.UID_UNSET if initialization
failed before the unique identifier was determined.
- getUid() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- getUidOfPeriod(int) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
-
- getUidOfPeriod(int) - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
- getUidOfPeriod(int) - Method in class com.google.android.exoplayer2.testutil.FakeTimeline
-
- getUidOfPeriod(int) - Method in class com.google.android.exoplayer2.Timeline
-
Returns the unique id of the period identified by its index in the timeline.
- getUnassociatedTrackGroups() - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
- getUnexpectedException() - Method in exception com.google.android.exoplayer2.ExoPlaybackException
-
- getUniforms(int) - Static method in class com.google.android.exoplayer2.util.GlUtil
-
- getUnmappedTrackGroups() - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
- getUpdatedSourceDrmSession(Format, Format, DrmSessionManager<T>, DrmSession<T>) - Method in class com.google.android.exoplayer2.BaseRenderer
-
Returns a
DrmSession ready for assignment, handling resource management.
- getUpstreamFormat() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Returns the upstream
Format in which samples are being queued.
- getUri() - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.source.chunk.Chunk
-
- getUri(int) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet
-
- getUri() - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
-
- getUri() - Method in interface com.google.android.exoplayer2.upstream.DataSource
-
When the source is open, returns the
Uri from which data is being read.
- getUri() - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.DummyDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.FileDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.ParsingLoadable
-
Returns the
Uri from which data was read.
- getUri() - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
-
- getUri() - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
-
- getUseArtwork() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Returns whether artwork is displayed if present in the media.
- getUseController() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Returns whether the playback controls can be shown.
- getUserAgent(Context, String) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns a user agent string based on the given application name and the library version.
- getUtf8Bytes(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns a new byte array containing the code points of a
String encoded using UTF-8.
- getVersion(SQLiteDatabase, int, String) - Static method in class com.google.android.exoplayer2.database.VersionTable
-
- getVersion() - Static method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegLibrary
-
Returns the version of the underlying library if available, or null otherwise.
- getVersion() - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
-
Returns the version of the underlying library if available, or null otherwise.
- getVersion() - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
-
Returns the version of the underlying library if available, or null otherwise.
- getVertexCount() - Method in class com.google.android.exoplayer2.video.spherical.Projection.SubMesh
-
Returns the SubMesh vertex count.
- getVideoComponent() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- getVideoComponent() - Method in interface com.google.android.exoplayer2.Player
-
Returns the component of this player for video output, or null if video is not supported.
- getVideoComponent() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getVideoComponent() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- getVideoDecoderCounters() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getVideoDecoderOutputBufferRenderer() - Method in class com.google.android.exoplayer2.video.VideoDecoderGLSurfaceView
-
- getVideoFormat() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Returns the video format currently being played, or null if no video is being played.
- getVideoMediaMimeType(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Derives a video sample mimeType from a codecs attribute.
- getVideoScalingMode() - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
- getVideoScalingMode() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getVideoString() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
Returns a string containing video debugging information.
- getVideoSurfaceView() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Gets the view onto which video is rendered.
- getVolume() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- getVolume() - Method in interface com.google.android.exoplayer2.Player.AudioComponent
-
Returns the audio volume, with 0 being silence and 1 being unity gain.
- getVolume() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- getWaitTimeRatio() - Method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Returns the ratio of wait times to the total time spent playing and waiting, or 0.0 if
no time was spend playing or waiting.
- getWindow(int, Timeline.Window, long) - Method in class com.google.android.exoplayer2.source.ads.SinglePeriodAdTimeline
-
- getWindow(int, Timeline.Window, long) - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
-
- getWindow(int, Timeline.Window, long) - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
- getWindow(int, Timeline.Window, long) - Method in class com.google.android.exoplayer2.testutil.FakeTimeline
-
- getWindow(int, Timeline.Window) - Method in class com.google.android.exoplayer2.Timeline
-
Populates a
Timeline.Window with data for the window at the specified index.
- getWindow(int, Timeline.Window, boolean) - Method in class com.google.android.exoplayer2.Timeline
-
- getWindow(int, Timeline.Window, long) - Method in class com.google.android.exoplayer2.Timeline
-
Populates a
Timeline.Window with data for the window at the specified index.
- getWindowCount() - Method in class com.google.android.exoplayer2.source.ForwardingTimeline
-
- getWindowCount() - Method in class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
- getWindowCount() - Method in class com.google.android.exoplayer2.testutil.FakeTimeline
-
- getWindowCount() - Method in class com.google.android.exoplayer2.Timeline
-
Returns the number of windows in the timeline.
- getWindowIndex() - Method in class com.google.android.exoplayer2.PlayerMessage
-
Returns window index at which the message will be delivered.
- getWindowIndexForChildWindowIndex(T, int) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
-
Returns the window index in the composite source corresponding to the specified window index in
a child source.
- getWindowIndexForChildWindowIndex(ConcatenatingMediaSource.MediaSourceHolder, int) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- getWrappedMetadataBytes() - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
-
- getWrappedMetadataBytes() - Method in interface com.google.android.exoplayer2.metadata.Metadata.Entry
-
Returns the bytes of the wrapped metadata in this Entry, or null if it doesn't contain
wrapped metadata.
- getWrappedMetadataFormat() - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
-
- getWrappedMetadataFormat() - Method in interface com.google.android.exoplayer2.metadata.Metadata.Entry
-
- getWritableDatabase() - Method in interface com.google.android.exoplayer2.database.DatabaseProvider
-
Creates and/or opens a database that will be used for reading and writing.
- getWritableDatabase() - Method in class com.google.android.exoplayer2.database.DefaultDatabaseProvider
-
- getWriteIndex() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Returns the current absolute write index.
- getWriteIndices() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkOutput
-
Returns the current absolute write indices of the individual sample queues.
- GL_ASSERTIONS_ENABLED - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
-
Whether an exception should be thrown in case of an OpenGl error.
- GlUtil - Class in com.google.android.exoplayer2.util
-
GL utilities.
- GlUtil.Attribute - Class in com.google.android.exoplayer2.util
-
- GlUtil.Uniform - Class in com.google.android.exoplayer2.util
-
- group - Variable in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- group - Variable in class com.google.android.exoplayer2.trackselection.TrackSelection.Definition
-
- GROUP_INDEX_AUDIO - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
-
- GROUP_INDEX_SUBTITLE - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
-
- GROUP_INDEX_VARIANT - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
-
- groupId - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
-
The GROUP-ID value of this track, if the track is derived from an EXT-X-MEDIA tag.
- groupId - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Rendition
-
The group to which this rendition belongs.
- groupIndex - Variable in class com.google.android.exoplayer2.offline.StreamKey
-
The group index.
- groupIndex - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
-
- GvrAudioProcessor - Class in com.google.android.exoplayer2.ext.gvr
-
- GvrAudioProcessor() - Constructor for class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
-
Deprecated.
Creates a new GVR audio processor.
- i(String, String) - Static method in class com.google.android.exoplayer2.util.Log
-
- i(String, String, Throwable) - Static method in class com.google.android.exoplayer2.util.Log
-
- IcyDecoder - Class in com.google.android.exoplayer2.metadata.icy
-
Decodes ICY stream information.
- IcyDecoder() - Constructor for class com.google.android.exoplayer2.metadata.icy.IcyDecoder
-
- IcyHeaders - Class in com.google.android.exoplayer2.metadata.icy
-
ICY headers.
- IcyHeaders(int, String, String, String, boolean, int) - Constructor for class com.google.android.exoplayer2.metadata.icy.IcyHeaders
-
- IcyInfo - Class in com.google.android.exoplayer2.metadata.icy
-
ICY in-stream information.
- IcyInfo(byte[], String, String) - Constructor for class com.google.android.exoplayer2.metadata.icy.IcyInfo
-
Construct a new IcyInfo from the source metadata, and optionally a StreamTitle and StreamUrl
that have been extracted.
- id - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
The track identifier.
- id - Variable in class com.google.android.exoplayer2.Format
-
An identifier for the format, or null if unknown or not applicable.
- id - Variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
-
The instance identifier.
- ID - Static variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
-
- ID - Static variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
-
- ID - Static variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
-
- ID - Static variable in class com.google.android.exoplayer2.metadata.id3.CommentFrame
-
- ID - Static variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
-
- id - Variable in class com.google.android.exoplayer2.metadata.id3.Id3Frame
-
The frame ID.
- ID - Static variable in class com.google.android.exoplayer2.metadata.id3.InternalFrame
-
- ID - Static variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
-
- ID - Static variable in class com.google.android.exoplayer2.metadata.id3.PrivFrame
-
- id - Variable in class com.google.android.exoplayer2.offline.DownloadRequest
-
The unique content id.
- id - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
-
A non-negative identifier for the adaptation set that's unique in the scope of its containing
period, or
AdaptationSet.ID_UNSET if not specified.
- id - Variable in class com.google.android.exoplayer2.source.dash.manifest.Descriptor
-
The identifier, or null.
- id() - Method in class com.google.android.exoplayer2.source.dash.manifest.EventStream
-
- id - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
-
The period identifier, if one exists.
- id - Variable in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- id - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
-
- id - Variable in class com.google.android.exoplayer2.Timeline.Period
-
An identifier for the period.
- ID3_HEADER_LENGTH - Static variable in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
-
Length of an ID3 tag header.
- ID3_SCHEME_ID_AOM - Static variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
-
- ID3_TAG - Static variable in class com.google.android.exoplayer2.metadata.id3.Id3Decoder
-
The first three bytes of a well formed ID3 tag header.
- Id3Decoder - Class in com.google.android.exoplayer2.metadata.id3
-
Decodes ID3 tags.
- Id3Decoder() - Constructor for class com.google.android.exoplayer2.metadata.id3.Id3Decoder
-
- Id3Decoder(Id3Decoder.FramePredicate) - Constructor for class com.google.android.exoplayer2.metadata.id3.Id3Decoder
-
- Id3Decoder.FramePredicate - Interface in com.google.android.exoplayer2.metadata.id3
-
A predicate for determining whether individual frames should be decoded.
- Id3Frame - Class in com.google.android.exoplayer2.metadata.id3
-
Base class for ID3 frames.
- Id3Frame(String) - Constructor for class com.google.android.exoplayer2.metadata.id3.Id3Frame
-
- Id3Peeker - Class in com.google.android.exoplayer2.extractor
-
Peeks data from the beginning of an
ExtractorInput to determine if there is any ID3 tag.
- Id3Peeker() - Constructor for class com.google.android.exoplayer2.extractor.Id3Peeker
-
- Id3Reader - Class in com.google.android.exoplayer2.extractor.ts
-
Parses ID3 data and extracts individual text information frames.
- Id3Reader() - Constructor for class com.google.android.exoplayer2.extractor.ts.Id3Reader
-
- ID_UNSET - Static variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
-
- identifier - Variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
-
The identifier as defined in SCTE35, Section 9.3.6.
- IllegalClippingException(int) - Constructor for exception com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException
-
- IllegalMergeException(int) - Constructor for exception com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException
-
- IllegalSeekPositionException - Exception in com.google.android.exoplayer2
-
Thrown when an attempt is made to seek to a position that does not exist in the player's
Timeline.
- IllegalSeekPositionException(Timeline, int, long) - Constructor for exception com.google.android.exoplayer2.IllegalSeekPositionException
-
- iLog(int) - Static method in class com.google.android.exoplayer2.extractor.VorbisUtil
-
Returns ilog(x), which is the index of the highest set bit in x.
- ImaAdsLoader - Class in com.google.android.exoplayer2.ext.ima
-
- ImaAdsLoader(Context, Uri) - Constructor for class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
Creates a new IMA ads loader.
- ImaAdsLoader(Context, Uri, ImaSdkSettings) - Constructor for class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- ImaAdsLoader.Builder - Class in com.google.android.exoplayer2.ext.ima
-
- IMPORTANCE_DEFAULT - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
-
- IMPORTANCE_HIGH - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
-
- IMPORTANCE_LOW - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
-
- IMPORTANCE_MIN - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
-
- IMPORTANCE_NONE - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
-
- IMPORTANCE_UNSPECIFIED - Static variable in class com.google.android.exoplayer2.util.NotificationUtil
-
- inbandEventStreams - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
-
- inbandEventStreams - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
The in-band event streams in the representation.
- includesDrmSession - Variable in class com.google.android.exoplayer2.FormatHolder
-
- INDEX_UNBOUNDED - Static variable in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
-
- INDEX_UNSET - Static variable in class com.google.android.exoplayer2.C
-
Represents an unset or unknown index.
- indexOf(Format) - Method in class com.google.android.exoplayer2.source.TrackGroup
-
Returns the index of the track with the given format in the group.
- indexOf(TrackGroup) - Method in class com.google.android.exoplayer2.source.TrackGroupArray
-
Returns the index of a group within the array.
- indexOf(Format) - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
-
- indexOf(int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
-
- indexOf(Format) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- indexOf(int) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- indexOf(Format) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the index in the selection of the track with the specified format.
- indexOf(int) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Returns the index in the selection of the track with the specified index in the track group.
- inferContentType(Uri, String) - Static method in class com.google.android.exoplayer2.util.Util
-
Makes a best guess to infer the type from a
Uri.
- inferContentType(Uri) - Static method in class com.google.android.exoplayer2.util.Util
-
Makes a best guess to infer the type from a
Uri.
- inferContentType(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Makes a best guess to infer the type from a file name.
- inflate(ParsableByteArray, ParsableByteArray, Inflater) - Static method in class com.google.android.exoplayer2.util.Util
-
Uncompresses the data in input.
- info - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
-
- init(long, int) - Method in class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
-
Initializes the buffer.
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.ext.flac.FlacExtractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
-
- init(ExtractorOutput) - Method in interface com.google.android.exoplayer2.extractor.Extractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.flac.FlacExtractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Extractor
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
-
- init(TimestampAdjuster, ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.PesReader
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- init(TimestampAdjuster, ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in interface com.google.android.exoplayer2.extractor.ts.SectionPayloadReader
-
Initializes the section payload reader.
- init(TimestampAdjuster, ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.SectionReader
-
- init(TimestampAdjuster, ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in class com.google.android.exoplayer2.extractor.ts.SpliceInfoSectionReader
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- init(TimestampAdjuster, ExtractorOutput, TsPayloadReader.TrackIdGenerator) - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader
-
Initializes the payload reader.
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
-
- init(BaseMediaChunkOutput) - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunk
-
Initializes the chunk for loading, setting the
BaseMediaChunkOutput that will receive
samples as they are loaded.
- init(ChunkExtractorWrapper.TrackOutputProvider, long, long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
-
- init(ChunkExtractorWrapper.TrackOutputProvider) - Method in class com.google.android.exoplayer2.source.chunk.InitializationChunk
-
- init(ExtractorOutput) - Method in class com.google.android.exoplayer2.source.hls.WebvttExtractor
-
- init(TrackSelector.InvalidationListener, BandwidthMeter) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
-
Called by the player to initialize the selector.
- init(MappingTrackSelector.MappedTrackInfo, int, boolean, List<DefaultTrackSelector.SelectionOverride>, TrackSelectionView.TrackSelectionListener) - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
-
- init(int) - Method in class com.google.android.exoplayer2.util.EGLSurfaceTexture
-
- init(long, int, ByteBuffer) - Method in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
-
Initializes the buffer.
- initForPrivateFrame(int, int) - Method in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
-
- initForYuvFrame(int, int, int, int, int) - Method in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
-
Resizes the buffer based on the given stride.
- INITIAL_DRM_REQUEST_RETRY_COUNT - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
Number of times to retry for initial provisioning and key request for reporting error.
- initialAudioFormatBitrateCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The number of playbacks with initial audio format bitrate data.
- InitializationChunk - Class in com.google.android.exoplayer2.source.chunk
-
A
Chunk that uses an
Extractor to decode initialization data for single track.
- InitializationChunk(DataSource, DataSpec, Format, int, Object, ChunkExtractorWrapper) - Constructor for class com.google.android.exoplayer2.source.chunk.InitializationChunk
-
- initializationData - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.DvbSubtitleInfo
-
- initializationData - Variable in class com.google.android.exoplayer2.Format
-
Initialization data that must be provided to the decoder.
- initializationData - Variable in class com.google.android.exoplayer2.video.AvcConfig
-
- initializationData - Variable in class com.google.android.exoplayer2.video.HevcConfig
-
- initializationDataEquals(Format) - Method in class com.google.android.exoplayer2.Format
-
- InitializationException(int, int, int, int) - Constructor for exception com.google.android.exoplayer2.audio.AudioSink.InitializationException
-
- initializationSegment - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
The media initialization section for this segment, as defined by #EXT-X-MAP.
- initialVideoFormatBitrateCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The number of playbacks with initial video format bitrate data.
- initialVideoFormatHeightCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The number of playbacks with initial video format height data.
- inputAudioFormat - Variable in class com.google.android.exoplayer2.audio.BaseAudioProcessor
-
The current input audio format.
- inputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The number of queued input buffers.
- inputFormatChanged(Format) - Method in class com.google.android.exoplayer2.audio.AudioRendererEventListener.EventDispatcher
-
- inputFormatChanged(Format) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
-
- inputSize - Variable in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer.CodecMaxValues
-
- INSTANCE - Static variable in class com.google.android.exoplayer2.upstream.DummyDataSource
-
- integerElement(int, long) - Method in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
-
Called when an integer element is encountered.
- integerElement(int, long) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
Called when an integer element is encountered.
- InternalFrame - Class in com.google.android.exoplayer2.metadata.id3
-
Internal ID3 frame that is intended for use by the player.
- InternalFrame(String, String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.InternalFrame
-
- InterruptedIOException(InterruptedException) - Constructor for exception com.google.android.exoplayer2.ext.cronet.CronetDataSource.InterruptedIOException
-
- invalidate() - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
-
- invalidate() - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Forces an update of the notification if already started.
- invalidateForegroundNotification() - Method in class com.google.android.exoplayer2.offline.DownloadService
-
- invalidateMediaSessionMetadata() - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
Updates the metadata of the media session.
- invalidateMediaSessionPlaybackState() - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
Updates the playback state of the media session.
- invalidateMediaSessionQueue() - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
- invalidateUpstreamFormatAdjustment() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Invalidates the last upstream format adjustment.
- InvalidContentTypeException(String, DataSpec) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidContentTypeException
-
- InvalidResponseCodeException(int, Map<String, List<String>>, DataSpec) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
-
- InvalidResponseCodeException(int, String, Map<String, List<String>>, DataSpec) - Constructor for exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
-
- invoke(BasePlayer.ListenerInvocation) - Method in class com.google.android.exoplayer2.BasePlayer.ListenerHolder
-
- invokeListener(Player.EventListener) - Method in interface com.google.android.exoplayer2.BasePlayer.ListenerInvocation
-
- isActionSegment() - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData.Segment
-
- isActive() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
-
Returns whether the processor is configured and will process input buffers.
- isActive() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
-
- isActive() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
-
- isActive() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
-
- isActive() - Method in class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
-
Deprecated.
- isAd() - Method in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
-
Returns whether this period identifier identifies an ad in an ad group in a period.
- isAdAvailable(int, int) - Method in class com.google.android.exoplayer2.Timeline.Period
-
Returns whether the URL for the specified ad is known.
- isAdtsSyncWord(int) - Static method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
-
Returns whether an integer matches an ADTS SYNC word.
- isAfterLast() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
-
Returns whether the cursor is pointing to the position after the last download.
- isApplication(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Returns whether the given string is an application MIME type.
- isAudio(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Returns whether the given string is an audio MIME type.
- isAudioChannelCountSupportedV21(int) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Whether the decoder supports audio with a given channel count.
- isAudioSampleRateSupportedV21(int) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Whether the decoder supports audio with a given sample rate.
- isAvailable() - Static method in class com.google.android.exoplayer2.ext.av1.Gav1Library
-
Returns whether the underlying library is available, loading it if necessary.
- isAvailable() - Static method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegLibrary
-
Returns whether the underlying library is available, loading it if necessary.
- isAvailable() - Static method in class com.google.android.exoplayer2.ext.flac.FlacLibrary
-
Returns whether the underlying library is available, loading it if necessary.
- isAvailable() - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
-
Returns whether the underlying library is available, loading it if necessary.
- isAvailable() - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
-
Returns whether the underlying library is available, loading it if necessary.
- isAvailable() - Method in class com.google.android.exoplayer2.util.LibraryLoader
-
Returns whether the underlying libraries are available, loading them if necessary.
- isBeforeFirst() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
-
Returns whether the cursor is pointing to the position before the first download.
- isBlacklisted(int, long) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
Returns whether the track at the specified index in the selection is blacklisted.
- isCached(String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Queries if a range is entirely available in the cache.
- isCached - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
- isCached(String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- isCacheFolderLocked(File) - Static method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
Returns whether
cacheFolder is locked by a
SimpleCache instance.
- isCanceled() - Method in class com.google.android.exoplayer2.PlayerMessage
-
Returns whether the message delivery has been canceled.
- isCastSessionAvailable() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
Returns whether a cast session is available.
- isChargingRequired() - Method in class com.google.android.exoplayer2.scheduler.Requirements
-
Returns whether the device is required to be charging.
- isClosed() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
-
Returns whether the cursor is closed
- isCodecSupported(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Whether the decoder supports the codec of the given format.
- isControllerVisible() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Returns whether the controller is currently visible.
- isCurrentStreamFinal() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- isCurrentStreamFinal() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- isCurrentStreamFinal() - Method in interface com.google.android.exoplayer2.Renderer
-
Returns whether the current
SampleStream will be the final one supplied before the
renderer is next disabled or reset.
- isCurrentWindowDynamic() - Method in class com.google.android.exoplayer2.BasePlayer
-
- isCurrentWindowDynamic() - Method in interface com.google.android.exoplayer2.Player
-
Returns whether the current window is dynamic, or
false if the
Timeline is
empty.
- isCurrentWindowLive() - Method in class com.google.android.exoplayer2.BasePlayer
-
- isCurrentWindowLive() - Method in interface com.google.android.exoplayer2.Player
-
Returns whether the current window is live, or
false if the
Timeline is empty.
- isCurrentWindowSeekable() - Method in class com.google.android.exoplayer2.BasePlayer
-
- isCurrentWindowSeekable() - Method in interface com.google.android.exoplayer2.Player
-
Returns whether the current window is seekable, or
false if the
Timeline is
empty.
- isDecodeOnly() - Method in class com.google.android.exoplayer2.decoder.Buffer
-
- isDynamic - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
-
- isDynamic - Variable in class com.google.android.exoplayer2.Timeline.Window
-
Whether this window may change when the timeline is updated.
- isEmpty() - Method in class com.google.android.exoplayer2.source.TrackGroupArray
-
Returns whether this track group array is empty.
- isEmpty() - Method in class com.google.android.exoplayer2.Timeline
-
Returns whether the timeline is empty.
- isEnabled() - Method in class com.google.android.exoplayer2.source.BaseMediaSource
-
Returns whether the source is enabled.
- isEnabled - Variable in class com.google.android.exoplayer2.testutil.FakeTrackSelection
-
- isEncodingHighResolutionPcm(int) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns whether encoding is high resolution (> 16-bit) PCM.
- isEncodingLinearPcm(int) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns whether encoding is one of the linear PCM encodings.
- isEncrypted() - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
- isEncrypted - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
-
Indicates the encryption state of the samples in the sample group.
- isEnded() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
-
- isEnded() - Method in interface com.google.android.exoplayer2.audio.AudioSink
-
- isEnded() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
-
- isEnded() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
- isEnded() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
-
- isEnded() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- isEnded() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- isEnded() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
-
- isEnded() - Method in class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
-
Deprecated.
- isEnded() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- isEnded() - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
-
- isEnded() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- isEnded() - Method in interface com.google.android.exoplayer2.Renderer
-
- isEnded() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
-
- isEnded() - Method in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
-
Returns whether the iteration has reached the end of the available data.
- isEnded - Variable in class com.google.android.exoplayer2.testutil.FakeRenderer
-
- isEnded() - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
-
- isEnded() - Method in class com.google.android.exoplayer2.text.TextRenderer
-
- isEnded() - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
- isEnded() - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
-
- isEndOfStream() - Method in class com.google.android.exoplayer2.decoder.Buffer
-
- isEndTag(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
-
Returns whether the current event is an end tag with the specified name.
- isEndTag(XmlPullParser) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
-
Returns whether the current event is an end tag.
- isEquivalent(TrackSelectorResult) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
-
Returns whether this result is equivalent to other for all renderers.
- isEquivalent(TrackSelectorResult, int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
-
Returns whether this result is equivalent to other for the renderer at the given index.
- isErrorSegment() - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData.Segment
-
- isExplicit() - Method in interface com.google.android.exoplayer2.source.dash.DashSegmentIndex
-
Returns true if segments are defined explicitly by the index.
- isExplicit() - Method in class com.google.android.exoplayer2.source.dash.DashWrappingSegmentIndex
-
- isExplicit() - Method in class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- isExplicit() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
-
- isExplicit() - Method in class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentList
-
- isFirst() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
-
Returns whether the cursor is pointing to the first download.
- isFlagSet(int) - Method in class com.google.android.exoplayer2.upstream.DataSpec
-
Returns whether the given flag is set.
- isFlagsOnly() - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
- isFormatAllowed(Format, int, boolean) - Method in interface com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder.DynamicFormatFilter
-
Called when updating the selected track to determine whether a candidate track is allowed.
- isFormatSupported(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Returns whether the decoder may support decoding the given format.
- isHdr10PlusOutOfBandMetadataSupported() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Whether the codec handles HDR10+ out-of-band metadata.
- isHighBitDepthSupported() - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
-
Returns true if the underlying libvpx library supports high bit depth.
- isHoleSpan() - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
- isIdle() - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Returns whether the manager is currently idle.
- isIdleRequired() - Method in class com.google.android.exoplayer2.scheduler.Requirements
-
Returns whether the device is required to be idle.
- isInitialized() - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Returns whether the manager has completed initialization.
- isKeyFrame() - Method in class com.google.android.exoplayer2.decoder.Buffer
-
- isLast() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
-
Returns whether the cursor is pointing to the last download.
- isLastPeriod(int, Timeline.Period, Timeline.Window, int, boolean) - Method in class com.google.android.exoplayer2.Timeline
-
Returns whether the given period is the last period of the timeline depending on the
repeatMode and whether shuffling is enabled.
- isLastSampleQueued() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Returns whether the last sample of the stream has knowingly been queued.
- isLevel1Element(int) - Method in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
-
Checks if the given id is that of a level 1 element.
- isLevel1Element(int) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
Checks if the given id is that of a level 1 element.
- isLinebreak(int) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns whether the given character is a carriage return ('\r') or a line feed ('\n').
- isLinethrough() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- isLive() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
- isLive() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
-
Returns whether the tracked playlists describe a live stream.
- isLive - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
Whether the manifest describes a live presentation still in progress.
- isLive - Variable in class com.google.android.exoplayer2.Timeline.Window
-
Whether the media in this window is live.
- isLoadCompleted() - Method in class com.google.android.exoplayer2.source.chunk.ContainerMediaChunk
-
- isLoadCompleted() - Method in class com.google.android.exoplayer2.source.chunk.MediaChunk
-
Returns whether the chunk has been fully loaded.
- isLoadCompleted() - Method in class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
-
- isLoadCompleted() - Method in class com.google.android.exoplayer2.testutil.FakeMediaChunk
-
- isLoading() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- isLoading() - Method in interface com.google.android.exoplayer2.Player
-
Whether the player is currently loading the source.
- isLoading() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- isLoading() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- isLoading() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
- isLoading() - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
-
- isLoading() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- isLoading() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- isLoading() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Returns whether the media period is currently loading.
- isLoading() - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
-
Returns whether the loader is currently loading.
- isLoading() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
-
- isLoading() - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- isLoading() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- isLoading() - Method in class com.google.android.exoplayer2.upstream.Loader
-
Returns whether the loader is currently loading.
- isLocalFileUri(Uri) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns true if the URI is a path to a local file or a reference to a local file.
- isNalUnitSei(String, byte) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
-
Returns whether the NAL unit with the specified header contains supplemental enhancement
information.
- isNetwork - Variable in class com.google.android.exoplayer2.testutil.FakeDataSource.Factory
-
- isNetworkRequired() - Method in class com.google.android.exoplayer2.scheduler.Requirements
-
Returns whether network connectivity is required.
- isNewerThan(HlsMediaPlaylist) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
Returns whether this playlist is newer than other.
- isNewSubtitleDataAvailable() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
-
- isNewSubtitleDataAvailable() - Method in class com.google.android.exoplayer2.text.cea.Cea708Decoder
-
- isNormalCue() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue
-
Returns whether or not this cue should be placed in the default position and rolled-up with
the other "normal" cues.
- ISO88591_NAME - Static variable in class com.google.android.exoplayer2.C
-
The name of the ISO-8859-1 charset.
- isOpen() - Method in class com.google.android.exoplayer2.util.ConditionVariable
-
Returns whether the condition is opened.
- isOpened() - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
-
Returns whether the data source is currently opened.
- isOpenEnded() - Method in class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
Returns whether this is an open-ended
CacheSpan.
- isOrdered - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
-
- isPackedAudioExtractor - Variable in class com.google.android.exoplayer2.source.hls.HlsExtractorFactory.Result
-
- isPlayerEmsgEvent(String, String) - Static method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler
-
Returns whether an event with given schemeIdUri and value is a DASH emsg event targeting the
player.
- isPlaying() - Method in class com.google.android.exoplayer2.BasePlayer
-
- isPlaying() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
-
- isPlaying() - Method in interface com.google.android.exoplayer2.Player
-
Returns whether the player is playing, i.e.
- isPlayingAd() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- isPlayingAd() - Method in interface com.google.android.exoplayer2.Player
-
Returns whether the player is currently playing an ad.
- isPlayingAd() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- isPlayingAd() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- isPrepared() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
-
- isPrepared() - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
-
Returns whether the source is currently prepared.
- isProtectedContentExtensionSupported(Context) - Static method in class com.google.android.exoplayer2.util.GlUtil
-
Returns whether creating a GL context with is possible.
- isPsshAtom(byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
-
Returns whether the data is a valid PSSH atom.
- isPublic - Variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
-
Whether the radio station is listed (icy-pub), or false if the header was not
present.
- isReady() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- isReady() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- isReady() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- isReady() - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
-
- isReady() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- isReady() - Method in interface com.google.android.exoplayer2.Renderer
-
Whether the renderer is able to immediately render media from the current position.
- isReady() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
-
- isReady() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- isReady() - Method in class com.google.android.exoplayer2.source.EmptySampleStream
-
- isReady(boolean) - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Returns whether there is data available for reading.
- isReady() - Method in interface com.google.android.exoplayer2.source.SampleStream
-
Returns whether data is available to be read.
- isReady() - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
-
- isReady() - Method in class com.google.android.exoplayer2.testutil.FakeSampleStream
-
- isReady() - Method in class com.google.android.exoplayer2.text.TextRenderer
-
- isReady() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- isReady() - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
- isReady() - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
-
- isRendererEnabled(int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
-
Returns whether the renderer at the specified index is enabled.
- isRepeatModeEnabled(int, int) - Static method in class com.google.android.exoplayer2.util.RepeatModeUtil
-
Verifies whether a given repeatMode is enabled in the bitmask enabledModes.
- isRetry() - Method in class com.google.android.exoplayer2.upstream.Loader.LoadErrorAction
-
Returns whether this is a retry action.
- isReusable - Variable in class com.google.android.exoplayer2.source.hls.HlsExtractorFactory.Result
-
- isRoot - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterTocFrame
-
- isSeamlessAdaptationSupported(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Returns whether it may be possible to adapt to playing a different format when the codec is
configured to play media in the specified format.
- isSeamlessAdaptationSupported(Format, Format, boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Returns whether it is possible to adapt the decoder seamlessly from oldFormat to newFormat.
- isSecureSupported(Context) - Static method in class com.google.android.exoplayer2.video.DummySurface
-
Returns whether the device supports secure dummy surfaces.
- isSeekable() - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.BinarySearchSeekMap
-
- isSeekable() - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
-
- isSeekable() - Method in class com.google.android.exoplayer2.extractor.ConstantBitrateSeekMap
-
- isSeekable() - Method in class com.google.android.exoplayer2.extractor.FlacSeekTableSeekMap
-
- isSeekable() - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- isSeekable() - Method in interface com.google.android.exoplayer2.extractor.SeekMap
-
Returns whether seeking is supported.
- isSeekable() - Method in class com.google.android.exoplayer2.extractor.SeekMap.Unseekable
-
- isSeekable - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
-
- isSeekable - Variable in class com.google.android.exoplayer2.Timeline.Window
-
Whether it's possible to seek within this window.
- isSeeking() - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
-
- isSimulatingUnknownLength() - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
-
Retuns whether unknown length is simulated
- isSnapshotValid(Uri) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
- isSnapshotValid(Uri) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
-
Returns whether the snapshot of the playlist referenced by the provided
Uri is valid,
meaning all the segments referenced by the playlist are expected to be available.
- isSourceReady() - Method in class com.google.android.exoplayer2.BaseRenderer
-
Returns whether the upstream source is ready.
- isStartTag(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
-
Returns whether the current event is a start tag with the specified name.
- isStartTag(XmlPullParser) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
-
Returns whether the current event is a start tag.
- isStartTagIgnorePrefix(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.util.XmlPullParserUtil
-
Returns whether the current event is a start tag with the specified name.
- isSupported(int, boolean) - Static method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- isSurfacelessContextExtensionSupported() - Static method in class com.google.android.exoplayer2.util.GlUtil
-
Returns whether creating a GL context with is possible.
- isSurfaceValid - Variable in exception com.google.android.exoplayer2.video.MediaCodecVideoRenderer.VideoDecoderException
-
Whether the surface was valid when the exception occurred.
- isSyncWord(int) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
-
Returns whether a given integer matches a DTS sync word.
- isTerminalState() - Method in class com.google.android.exoplayer2.offline.Download
-
Returns whether the download is completed or failed.
- isText(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Returns whether the given string is a text MIME type.
- isTv(Context) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns whether the app is running on a TV device.
- isUnderline() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- isUnmeteredNetworkRequired() - Method in class com.google.android.exoplayer2.scheduler.Requirements
-
Returns whether un-metered network connectivity is required.
- isVideo(String) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Returns whether the given string is a video MIME type.
- isVideoSizeAndRateSupportedV21(int, int, double) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Whether the decoder supports video with a given width, height and frame rate.
- isVisible() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Returns whether the controller is currently visible.
- isWaitingForRequirements() - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Returns whether this manager has one or more downloads that are not progressing for the sole
reason that the
Requirements are not met.
- isWebvttHeaderLine(ParsableByteArray) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
-
Returns whether the given input is the first line of a WebVTT file.
- isWideAspectRatio - Variable in class com.google.android.exoplayer2.text.cea.Cea708InitializationData
-
Whether the closed caption service is formatted for displays with 16:9 aspect ratio.
- isWithinConstraints - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.AudioTrackScore
-
Whether the provided format is within the parameter constraints.
- isWithinConstraints - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.TextTrackScore
-
Whether the provided format is within the parameter constraints.
- Iterator(FakeAdaptiveDataSet, int, int) - Constructor for class com.google.android.exoplayer2.testutil.FakeAdaptiveDataSet.Iterator
-
Create iterator.
- iv - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
-
The 16 byte initialization vector.
- M4_FILE_EXTENSION_PREFIX - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
-
- majorVersion - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
The client manifest major version.
- manifest - Variable in class com.google.android.exoplayer2.Timeline.Window
-
The manifest of the window.
- MANUFACTURER - Static variable in class com.google.android.exoplayer2.util.Util
-
Like
Build.MANUFACTURER, but in a place where it can be conveniently overridden for
local testing.
- mapping - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.Mode
-
- MappingTrackSelector - Class in com.google.android.exoplayer2.trackselection
-
- MappingTrackSelector() - Constructor for class com.google.android.exoplayer2.trackselection.MappingTrackSelector
-
- MappingTrackSelector.MappedTrackInfo - Class in com.google.android.exoplayer2.trackselection
-
Provides mapped track information for each renderer.
- markAsProcessed(boolean) - Method in class com.google.android.exoplayer2.PlayerMessage
-
Marks the message as processed.
- markSeekOperationFinished(boolean, long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
-
- MaskingMediaPeriod - Class in com.google.android.exoplayer2.source
-
- MaskingMediaPeriod(MediaSource, MediaSource.MediaPeriodId, Allocator, long) - Constructor for class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
Creates a new masking media period.
- MaskingMediaPeriod.PrepareErrorListener - Interface in com.google.android.exoplayer2.source
-
Listener for preparation errors.
- MaskingMediaSource - Class in com.google.android.exoplayer2.source
-
A
MediaSource that masks the
Timeline with a placeholder until the actual media
structure is known.
- MaskingMediaSource(MediaSource, boolean) - Constructor for class com.google.android.exoplayer2.source.MaskingMediaSource
-
Creates the masking media source.
- masterPlaylist - Variable in class com.google.android.exoplayer2.source.hls.HlsManifest
-
The master playlist of an HLS stream.
- matches(UUID) - Method in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
Returns whether this initialization data applies to the specified scheme.
- matchesExpectedExoMediaCryptoType(Class<? extends ExoMediaCrypto>) - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
-
Returns whether the given
ExoMediaCrypto type matches the one required for decoding
protected content.
- matchesExpectedExoMediaCryptoType(Class<? extends ExoMediaCrypto>) - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
-
Returns whether the given
ExoMediaCrypto type matches the one required for decoding
protected content.
- MatroskaExtractor - Class in com.google.android.exoplayer2.extractor.mkv
-
Extracts data from the Matroska and WebM container formats.
- MatroskaExtractor() - Constructor for class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
- MatroskaExtractor(int) - Constructor for class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
- MatroskaExtractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.mkv
-
Flags controlling the behavior of the extractor.
- MAX_DROPPED_VIDEO_FRAME_COUNT_TO_NOTIFY - Static variable in class com.google.android.exoplayer2.DefaultRenderersFactory
-
- MAX_FRAME_HEADER_SIZE - Static variable in class com.google.android.exoplayer2.util.FlacConstants
-
Maximum size of a FLAC frame header in bytes.
- MAX_FRAME_SIZE_BYTES - Static variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
Theoretical maximum frame size for an MPEG audio stream, which occurs when playing a Layer 2
MPEG 2.5 audio stream at 16 kb/s (with padding).
- MAX_PLAYING_TIME_DISCREPANCY_MS - Static variable in class com.google.android.exoplayer2.testutil.ExoHostedTest
-
- MAX_POSITION_FOR_SEEK_TO_PREVIOUS - Static variable in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
-
- MAX_SUPPORTED_INSTANCES_UNKNOWN - Static variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
- MAX_WINDOWS_FOR_MULTI_WINDOW_TIME_BAR - Static variable in class com.google.android.exoplayer2.ui.PlayerControlView
-
The maximum number of windows that can be shown in a multi-window time bar.
- maxAudioBitrate - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
Maximum allowed audio bitrate in bits per second.
- maxAudioChannelCount - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
Maximum allowed audio channel count.
- maxBlockSizeSamples - Variable in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Maximum number of samples per block.
- maxConsecutiveDroppedBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The maximum number of dropped buffers without an interleaving rendered output buffer.
- maxFrameSize - Variable in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Maximum frame size in bytes, or 0 if the value is unknown.
- maxH264DecodableFrameSize() - Static method in class com.google.android.exoplayer2.mediacodec.MediaCodecUtil
-
Returns the maximum frame size supported by the default H264 decoder.
- maxHeight - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- MAXIMUM_PITCH - Static variable in class com.google.android.exoplayer2.audio.SonicAudioProcessor
-
- MAXIMUM_SPEED - Static variable in class com.google.android.exoplayer2.audio.SonicAudioProcessor
-
- maxInputSize - Variable in class com.google.android.exoplayer2.Format
-
The maximum size of a buffer of data (typically one sample), or
Format.NO_VALUE if unknown or
not applicable.
- maxRebufferTimeMs - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The maximum time spent during a single rebuffer, in milliseconds, or
C.TIME_UNSET if no
rebuffer occurred.
- maxVideoBitrate - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
Maximum allowed video bitrate in bits per second.
- maxVideoFrameRate - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
Maximum allowed video frame rate in hertz.
- maxVideoHeight - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
Maximum allowed video height in pixels.
- maxVideoWidth - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
Maximum allowed video width in pixels.
- maxWidth - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- maybeDropBuffersToKeyframe(MediaCodec, int, long, long, boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
Drops frames from the current output buffer to the next keyframe at or before the playback
position.
- maybeDropBuffersToKeyframe(long) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Drops frames from the current output buffer to the next keyframe at or before the playback
position.
- maybeInitCodec() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- maybeRefreshManifestBeforeLoadingNextChunk(long) - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerTrackEmsgHandler
-
For live streaming, check if the DASH manifest is expired before the next segment start time.
- maybeRefreshManifestOnLoadingError(Chunk) - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerTrackEmsgHandler
-
For live streaming with emsg event stream, forward seeking can seek pass the emsg messages
that signals end-of-stream or Manifest expiry, which results in load error.
- maybeRequestReadExternalStoragePermission(Activity, Uri...) - Static method in class com.google.android.exoplayer2.util.Util
-
- maybeSetByteBuffer(MediaFormat, String, byte[]) - Static method in class com.google.android.exoplayer2.mediacodec.MediaFormatUtil
-
- maybeSetColorInfo(MediaFormat, ColorInfo) - Static method in class com.google.android.exoplayer2.mediacodec.MediaFormatUtil
-
- maybeSetFloat(MediaFormat, String, float) - Static method in class com.google.android.exoplayer2.mediacodec.MediaFormatUtil
-
- maybeSetInteger(MediaFormat, String, int) - Static method in class com.google.android.exoplayer2.mediacodec.MediaFormatUtil
-
- maybeSkipTag(XmlPullParser) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
If the provided
XmlPullParser is currently positioned at the start of a tag, skips
forward to the end of that tag.
- maybeThrowError() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
-
- maybeThrowError() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- maybeThrowError() - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
-
If the source is currently having difficulty providing chunks, then this method throws the
underlying error.
- maybeThrowError() - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
-
- maybeThrowError() - Method in class com.google.android.exoplayer2.source.EmptySampleStream
-
- maybeThrowError() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Throws an error that's preventing data from being read.
- maybeThrowError() - Method in interface com.google.android.exoplayer2.source.SampleStream
-
Throws an error that's preventing data from being read.
- maybeThrowError() - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
-
- maybeThrowError() - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource
-
- maybeThrowError() - Method in class com.google.android.exoplayer2.testutil.FakeSampleStream
-
- maybeThrowError() - Method in class com.google.android.exoplayer2.upstream.Loader
-
- maybeThrowError(int) - Method in class com.google.android.exoplayer2.upstream.Loader
-
- maybeThrowError() - Method in class com.google.android.exoplayer2.upstream.LoaderErrorThrower.Dummy
-
- maybeThrowError(int) - Method in class com.google.android.exoplayer2.upstream.LoaderErrorThrower.Dummy
-
- maybeThrowError() - Method in interface com.google.android.exoplayer2.upstream.LoaderErrorThrower
-
Throws a fatal error, or a non-fatal error if loading is currently backed off and the current
Loader.Loadable has incurred a number of errors greater than the
Loaders default
minimum number of retries.
- maybeThrowError(int) - Method in interface com.google.android.exoplayer2.upstream.LoaderErrorThrower
-
Throws a fatal error, or a non-fatal error if loading is currently backed off and the current
Loader.Loadable has incurred a number of errors greater than the specified minimum number
of retries.
- maybeThrowPlaylistRefreshError(Uri) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
- maybeThrowPlaylistRefreshError(Uri) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
-
If the playlist is having trouble refreshing the playlist referenced by the given
Uri,
this method throws the underlying error.
- maybeThrowPrepareError() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
- maybeThrowPrepareError() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- maybeThrowPrepareError() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- maybeThrowPrepareError() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Throws an error that's preventing the period from becoming prepared.
- maybeThrowPrepareError() - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- maybeThrowPrimaryPlaylistRefreshError() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
- maybeThrowPrimaryPlaylistRefreshError() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
-
If the tracker is having trouble refreshing the master playlist or the primary playlist, this
method throws the underlying error.
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in interface com.google.android.exoplayer2.source.MediaSource
-
Throws any pending error encountered while loading or refreshing source information.
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.MergingMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.SilenceMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- maybeThrowSourceInfoRefreshError() - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
-
- maybeThrowStreamError() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- maybeThrowStreamError() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- maybeThrowStreamError() - Method in interface com.google.android.exoplayer2.Renderer
-
Throws an error that's preventing the renderer from reading from its
SampleStream.
- MdtaMetadataEntry - Class in com.google.android.exoplayer2.extractor.mp4
-
Stores extensible metadata with handler type 'mdta'.
- MdtaMetadataEntry(String, byte[], int, int) - Constructor for class com.google.android.exoplayer2.extractor.mp4.MdtaMetadataEntry
-
Creates a new metadata entry for the specified metadata key/value.
- MediaChunk - Class in com.google.android.exoplayer2.source.chunk
-
An abstract base class for
Chunks that contain media samples.
- MediaChunk(DataSource, DataSpec, Format, int, Object, long, long, long) - Constructor for class com.google.android.exoplayer2.source.chunk.MediaChunk
-
- MediaChunkIterator - Interface in com.google.android.exoplayer2.source.chunk
-
Iterator for media chunk sequences.
- MediaChunkListIterator - Class in com.google.android.exoplayer2.source.chunk
-
- MediaChunkListIterator(List<? extends MediaChunk>, boolean) - Constructor for class com.google.android.exoplayer2.source.chunk.MediaChunkListIterator
-
Creates iterator.
- MediaClock - Interface in com.google.android.exoplayer2.util
-
Tracks the progression of media time.
- MediaCodecAudioRenderer - Class in com.google.android.exoplayer2.audio
-
- MediaCodecAudioRenderer(Context, MediaCodecSelector) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- MediaCodecAudioRenderer(Context, MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- MediaCodecAudioRenderer(Context, MediaCodecSelector, Handler, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- MediaCodecAudioRenderer(Context, MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean, Handler, AudioRendererEventListener) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- MediaCodecAudioRenderer(Context, MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean, Handler, AudioRendererEventListener, AudioCapabilities, AudioProcessor...) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- MediaCodecAudioRenderer(Context, MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean, Handler, AudioRendererEventListener, AudioSink) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- MediaCodecAudioRenderer(Context, MediaCodecSelector, boolean, Handler, AudioRendererEventListener, AudioSink) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- MediaCodecAudioRenderer(Context, MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean, boolean, Handler, AudioRendererEventListener, AudioSink) - Constructor for class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- MediaCodecInfo - Class in com.google.android.exoplayer2.mediacodec
-
Information about a
MediaCodec for a given mime type.
- MediaCodecRenderer - Class in com.google.android.exoplayer2.mediacodec
-
An abstract renderer that uses
MediaCodec to decode samples for rendering.
- MediaCodecRenderer(int, MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, boolean, boolean, float) - Constructor for class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- MediaCodecRenderer.DecoderException - Exception in com.google.android.exoplayer2.mediacodec
-
Thrown when a failure occurs in the decoder.
- MediaCodecRenderer.DecoderInitializationException - Exception in com.google.android.exoplayer2.mediacodec
-
Thrown when a failure occurs instantiating a decoder.
- MediaCodecRenderer.KeepCodecResult - Annotation Type in com.google.android.exoplayer2.mediacodec
-
- MediaCodecSelector - Interface in com.google.android.exoplayer2.mediacodec
-
- MediaCodecUtil - Class in com.google.android.exoplayer2.mediacodec
-
A utility class for querying the available codecs.
- MediaCodecUtil.DecoderQueryException - Exception in com.google.android.exoplayer2.mediacodec
-
Thrown when an error occurs querying the device for its underlying media capabilities.
- MediaCodecVideoRenderer - Class in com.google.android.exoplayer2.video
-
- MediaCodecVideoRenderer(Context, MediaCodecSelector) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- MediaCodecVideoRenderer(Context, MediaCodecSelector, long) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- MediaCodecVideoRenderer(Context, MediaCodecSelector, long, Handler, VideoRendererEventListener, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- MediaCodecVideoRenderer(Context, MediaCodecSelector, long, DrmSessionManager<FrameworkMediaCrypto>, boolean, Handler, VideoRendererEventListener, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- MediaCodecVideoRenderer(Context, MediaCodecSelector, long, boolean, Handler, VideoRendererEventListener, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- MediaCodecVideoRenderer(Context, MediaCodecSelector, long, DrmSessionManager<FrameworkMediaCrypto>, boolean, boolean, Handler, VideoRendererEventListener, int) - Constructor for class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- MediaCodecVideoRenderer.CodecMaxValues - Class in com.google.android.exoplayer2.video
-
- MediaCodecVideoRenderer.VideoDecoderException - Exception in com.google.android.exoplayer2.video
-
A DecoderException with additional surface information.
- MediaDrmCallback - Interface in com.google.android.exoplayer2.drm
-
- mediaEndTimeMs - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.MediaLoadData
-
The end time of the media, or
C.TIME_UNSET if the data does not belong to a specific
media period or the end time is unknown.
- MediaFormatUtil - Class in com.google.android.exoplayer2.mediacodec
-
- MediaIdEqualityChecker() - Constructor for class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor.MediaIdEqualityChecker
-
- MediaItem - Class in com.google.android.exoplayer2.ext.cast
-
Representation of a media item.
- MediaItem.Builder - Class in com.google.android.exoplayer2.ext.cast
-
- MediaItem.DrmConfiguration - Class in com.google.android.exoplayer2.ext.cast
-
DRM configuration for a media item.
- MediaItemConverter - Interface in com.google.android.exoplayer2.ext.cast
-
Converts between
MediaItem and the Cast SDK's
MediaQueueItem.
- MediaLoadData(int, int, Format, int, Object, long, long) - Constructor for class com.google.android.exoplayer2.source.MediaSourceEventListener.MediaLoadData
-
Creates media load data.
- mediaPeriod - Variable in class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
- MediaPeriod - Interface in com.google.android.exoplayer2.source
-
Loads media corresponding to a Timeline.Period, and allows that media to be read.
- MediaPeriod.Callback - Interface in com.google.android.exoplayer2.source
-
- MediaPeriodAsserts - Class in com.google.android.exoplayer2.testutil
-
- MediaPeriodAsserts.FilterableManifestMediaPeriodFactory<T extends FilterableManifest<T>> - Interface in com.google.android.exoplayer2.testutil
-
- mediaPeriodCreated() - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
-
Dispatches #onMediaPeriodCreated(int, MediaPeriodId).
- mediaPeriodId - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
-
Media period identifier for the media period this event belongs to, or null if the
event is not associated with a specific media period.
- MediaPeriodId(Object) - Constructor for class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
-
Creates a media period identifier for a dummy period which is not part of a buffered sequence
of windows.
- MediaPeriodId(Object, long) - Constructor for class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
-
Creates a media period identifier for the specified period in the timeline.
- MediaPeriodId(Object, long, int) - Constructor for class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
-
Creates a media period identifier for the specified clipped period in the timeline.
- MediaPeriodId(Object, int, int, long) - Constructor for class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
-
Creates a media period identifier that identifies an ad within an ad group at the specified
timeline period.
- mediaPeriodId - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
-
- mediaPeriodReleased() - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
-
Dispatches #onMediaPeriodReleased(int, MediaPeriodId).
- mediaPlaylist - Variable in class com.google.android.exoplayer2.source.hls.HlsManifest
-
- mediaPlaylistUrls - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
-
All of the media playlist URLs referenced by the playlist.
- mediaSequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
The media sequence number of the first media segment in the playlist, as defined by
#EXT-X-MEDIA-SEQUENCE.
- mediaSession - Variable in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
- MediaSessionConnector - Class in com.google.android.exoplayer2.ext.mediasession
-
- MediaSessionConnector(MediaSessionCompat) - Constructor for class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
Creates an instance.
- MediaSessionConnector.CaptionCallback - Interface in com.google.android.exoplayer2.ext.mediasession
-
Handles requests for enabling or disabling captions.
- MediaSessionConnector.CommandReceiver - Interface in com.google.android.exoplayer2.ext.mediasession
-
Receiver of media commands sent by a media controller.
- MediaSessionConnector.CustomActionProvider - Interface in com.google.android.exoplayer2.ext.mediasession
-
Provides a PlaybackStateCompat.CustomAction to be published and handles the action when
sent by a media controller.
- MediaSessionConnector.DefaultMediaMetadataProvider - Class in com.google.android.exoplayer2.ext.mediasession
-
- MediaSessionConnector.MediaButtonEventHandler - Interface in com.google.android.exoplayer2.ext.mediasession
-
Handles a media button event.
- MediaSessionConnector.MediaMetadataProvider - Interface in com.google.android.exoplayer2.ext.mediasession
-
- MediaSessionConnector.PlaybackActions - Annotation Type in com.google.android.exoplayer2.ext.mediasession
-
Playback actions supported by the connector.
- MediaSessionConnector.PlaybackPreparer - Interface in com.google.android.exoplayer2.ext.mediasession
-
Interface to which playback preparation and play actions are delegated.
- MediaSessionConnector.QueueEditor - Interface in com.google.android.exoplayer2.ext.mediasession
-
Handles media session queue edits.
- MediaSessionConnector.QueueNavigator - Interface in com.google.android.exoplayer2.ext.mediasession
-
Handles queue navigation actions, and updates the media session queue by calling MediaSessionCompat.setQueue().
- MediaSessionConnector.RatingCallback - Interface in com.google.android.exoplayer2.ext.mediasession
-
Callback receiving a user rating for the active media item.
- mediaSource - Variable in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
The
MediaSource which will create the actual media period.
- MediaSource - Interface in com.google.android.exoplayer2.source
-
Defines and provides media to be played by an
ExoPlayer.
- MediaSource.MediaPeriodId - Class in com.google.android.exoplayer2.source
-
- MediaSource.MediaSourceCaller - Interface in com.google.android.exoplayer2.source
-
A caller of media sources, which will be notified of source events.
- MediaSourceEventListener - Interface in com.google.android.exoplayer2.source
-
Interface for callbacks to be notified of
MediaSource events.
- MediaSourceEventListener.EventDispatcher - Class in com.google.android.exoplayer2.source
-
- MediaSourceEventListener.LoadEventInfo - Class in com.google.android.exoplayer2.source
-
Media source load event information.
- MediaSourceEventListener.MediaLoadData - Class in com.google.android.exoplayer2.source
-
Descriptor for data being loaded or selected by a media source.
- MediaSourceFactory - Interface in com.google.android.exoplayer2.source
-
- MediaSourceTestRunner - Class in com.google.android.exoplayer2.testutil
-
- MediaSourceTestRunner(MediaSource, Allocator) - Constructor for class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
-
- mediaStartTimeMs - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.MediaLoadData
-
The start time of the media, or
C.TIME_UNSET if the data does not belong to a
specific media period.
- mediaTimeHistory - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The media time history as an ordered list of long[2] arrays with [0] being the realtime as
returned by SystemClock.elapsedRealtime() and [1] being the media time at this
realtime, in milliseconds.
- merge(PlaybackStats...) - Static method in class com.google.android.exoplayer2.analytics.PlaybackStats
-
- merge(DecoderCounters) - Method in class com.google.android.exoplayer2.decoder.DecoderCounters
-
Merges the counts from other into this instance.
- merge(DrmInitData) - Method in class com.google.android.exoplayer2.drm.DrmInitData
-
- MergingMediaSource - Class in com.google.android.exoplayer2.source
-
- MergingMediaSource(MediaSource...) - Constructor for class com.google.android.exoplayer2.source.MergingMediaSource
-
- MergingMediaSource(CompositeSequenceableLoaderFactory, MediaSource...) - Constructor for class com.google.android.exoplayer2.source.MergingMediaSource
-
- MergingMediaSource.IllegalMergeException - Exception in com.google.android.exoplayer2.source
-
- MergingMediaSource.IllegalMergeException.Reason - Annotation Type in com.google.android.exoplayer2.source
-
The reason the merge failed.
- Mesh(Projection.SubMesh...) - Constructor for class com.google.android.exoplayer2.video.spherical.Projection.Mesh
-
- messageData - Variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
-
The body of the message.
- metadata - Variable in class com.google.android.exoplayer2.Format
-
Metadata, or null if unknown or not applicable.
- Metadata - Class in com.google.android.exoplayer2.metadata
-
A collection of metadata entries.
- Metadata(Metadata.Entry...) - Constructor for class com.google.android.exoplayer2.metadata.Metadata
-
- Metadata(List<? extends Metadata.Entry>) - Constructor for class com.google.android.exoplayer2.metadata.Metadata
-
- Metadata.Entry - Interface in com.google.android.exoplayer2.metadata
-
A metadata entry.
- METADATA_BLOCK_HEADER_SIZE - Static variable in class com.google.android.exoplayer2.util.FlacConstants
-
Size of the header of a FLAC metadata block in bytes.
- METADATA_TYPE_EMSG - Static variable in class com.google.android.exoplayer2.source.hls.HlsMediaSource
-
Type for ESMG metadata in HLS streams.
- METADATA_TYPE_ID3 - Static variable in class com.google.android.exoplayer2.source.hls.HlsMediaSource
-
Type for ID3 metadata in HLS streams.
- METADATA_TYPE_PICTURE - Static variable in class com.google.android.exoplayer2.util.FlacConstants
-
Picture metadata block type.
- METADATA_TYPE_SEEK_TABLE - Static variable in class com.google.android.exoplayer2.util.FlacConstants
-
Seek table metadata block type.
- METADATA_TYPE_STREAM_INFO - Static variable in class com.google.android.exoplayer2.util.FlacConstants
-
Stream info metadata block type.
- METADATA_TYPE_VORBIS_COMMENT - Static variable in class com.google.android.exoplayer2.util.FlacConstants
-
Vorbis comment metadata block type.
- MetadataDecoder - Interface in com.google.android.exoplayer2.metadata
-
Decodes metadata from binary data.
- MetadataDecoderFactory - Interface in com.google.android.exoplayer2.metadata
-
- MetadataInputBuffer - Class in com.google.android.exoplayer2.metadata
-
- MetadataInputBuffer() - Constructor for class com.google.android.exoplayer2.metadata.MetadataInputBuffer
-
- metadataInterval - Variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
-
The interval in bytes between metadata chunks (
icy-metaint), or
C.LENGTH_UNSET
if the header was not present.
- MetadataOutput - Interface in com.google.android.exoplayer2.metadata
-
Receives metadata output.
- MetadataRenderer - Class in com.google.android.exoplayer2.metadata
-
A renderer for metadata.
- MetadataRenderer(MetadataOutput, Looper) - Constructor for class com.google.android.exoplayer2.metadata.MetadataRenderer
-
- MetadataRenderer(MetadataOutput, Looper, MetadataDecoderFactory) - Constructor for class com.google.android.exoplayer2.metadata.MetadataRenderer
-
- MICROS_PER_SECOND - Static variable in class com.google.android.exoplayer2.C
-
The number of microseconds in one second.
- MILLIS_PER_SECOND - Static variable in class com.google.android.exoplayer2.C
-
The number of milliseconds in one second.
- millisecondsBetweenReference - Variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
-
- millisecondsDeviations - Variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
-
- mimeType - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
-
The sample mime type of the bitstream.
- mimeType - Variable in class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
- mimeType - Variable in class com.google.android.exoplayer2.ext.cast.MediaItem
-
The mime type for the media, or null if unspecified.
- mimeType - Variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
The mime type.
- mimeType - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
The MIME type handled by the codec, or null if this is a passthrough codec.
- mimeType - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
-
The mime type for which a decoder was being initialized.
- mimeType - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
-
The mime type of the picture.
- mimeType - Variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
-
- mimeType - Variable in class com.google.android.exoplayer2.metadata.id3.GeobFrame
-
- MimeTypes - Class in com.google.android.exoplayer2.util
-
Defines common MIME types and helper methods.
- MIN_FRAME_HEADER_SIZE - Static variable in class com.google.android.exoplayer2.util.FlacConstants
-
Minimum size of a FLAC frame header in bytes.
- minBlockSizeSamples - Variable in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Minimum number of samples per block.
- minBufferTimeMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
The
minBufferTime value in milliseconds, or
C.TIME_UNSET if not present.
- minFrameSize - Variable in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Minimum frame size in bytes, or 0 if the value is unknown.
- MINIMUM_PITCH - Static variable in class com.google.android.exoplayer2.audio.SonicAudioProcessor
-
- MINIMUM_SPEED - Static variable in class com.google.android.exoplayer2.audio.SonicAudioProcessor
-
- minorVersion - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
The client manifest minor version.
- minUpdatePeriodMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
The
minimumUpdatePeriod value in milliseconds, or
C.TIME_UNSET if not
applicable.
- MissingFieldException(String) - Constructor for exception com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser.MissingFieldException
-
- MlltFrame - Class in com.google.android.exoplayer2.metadata.id3
-
MPEG location lookup table frame.
- MlltFrame(int, int, int, int[], int[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.MlltFrame
-
- mode - Variable in class com.google.android.exoplayer2.decoder.CryptoInfo
-
The type of encryption that has been applied.
- Mode(boolean, int, int, int) - Constructor for class com.google.android.exoplayer2.extractor.VorbisUtil.Mode
-
- mode - Variable in class com.google.android.exoplayer2.video.spherical.Projection.SubMesh
-
The drawing mode.
- mode - Variable in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
-
Output mode.
- MODE_DOWNLOAD - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
Downloads an offline license or renews an existing one.
- MODE_HLS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
Enable single PMT mode, map
TrackOutputs by their type (instead of PID) and ignore
continuity counters.
- MODE_MULTI_PMT - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
Behave as defined in ISO/IEC 13818-1.
- MODE_PLAYBACK - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
Loads and refreshes (if necessary) a license for playback.
- MODE_QUERY - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
Restores an offline license to allow its status to be queried.
- MODE_RELEASE - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
Releases an existing offline license.
- MODE_SINGLE_PMT - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
Assume only one PMT will be contained in the stream, even if more are declared by the PAT.
- MODEL - Static variable in class com.google.android.exoplayer2.util.Util
-
Like
Build.MODEL, but in a place where it can be conveniently overridden for local
testing.
- modifyTrack(Track) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
-
- moreInformationURL - Variable in class com.google.android.exoplayer2.source.dash.manifest.ProgramInformation
-
A URL that provides more information about the media presentation.
- move(int, int) - Method in interface com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor.QueueDataAdapter
-
Moves a queue item from position from to position to.
- moveItem(int, int) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
Moves an existing item within the media queue.
- moveMediaSource(int, int) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- moveMediaSource(int, int, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
Moves an existing
MediaSource within the playlist and executes a custom action on
completion.
- moveToFirst() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
-
Move the cursor to the first download.
- moveToLast() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
-
Move the cursor to the last download.
- moveToNext() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
-
Move the cursor to the next download.
- moveToPosition(int) - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
-
Move the cursor to an absolute position.
- moveToPrevious() - Method in interface com.google.android.exoplayer2.offline.DownloadCursor
-
Move the cursor to the previous download.
- movieTimescale - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
The movie timescale.
- MP3_FILE_EXTENSION - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
-
- Mp3Extractor - Class in com.google.android.exoplayer2.extractor.mp3
-
Extracts data from the MP3 container format.
- Mp3Extractor() - Constructor for class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
-
- Mp3Extractor(int) - Constructor for class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
-
- Mp3Extractor(int, long) - Constructor for class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
-
- Mp3Extractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.mp3
-
Flags controlling the behavior of the extractor.
- MP4_FILE_EXTENSION - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
-
- MP4_FILE_EXTENSION_PREFIX - Static variable in class com.google.android.exoplayer2.source.hls.DefaultHlsExtractorFactory
-
- Mp4Extractor - Class in com.google.android.exoplayer2.extractor.mp4
-
Extracts data from the MP4 container format.
- Mp4Extractor() - Constructor for class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
Creates a new extractor for unfragmented MP4 streams.
- Mp4Extractor(int) - Constructor for class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
Creates a new extractor for unfragmented MP4 streams, using the specified flags to control the
extractor's behavior.
- Mp4Extractor.Flags - Annotation Type in com.google.android.exoplayer2.extractor.mp4
-
Flags controlling the behavior of the extractor.
- Mp4WebvttDecoder - Class in com.google.android.exoplayer2.text.webvtt
-
- Mp4WebvttDecoder() - Constructor for class com.google.android.exoplayer2.text.webvtt.Mp4WebvttDecoder
-
- MpegAudioHeader - Class in com.google.android.exoplayer2.extractor
-
An MPEG audio frame header.
- MpegAudioHeader() - Constructor for class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
- MpegAudioReader - Class in com.google.android.exoplayer2.extractor.ts
-
Parses a continuous MPEG Audio byte stream and extracts individual frames.
- MpegAudioReader() - Constructor for class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
-
- MpegAudioReader(String) - Constructor for class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
-
- mpegFramesBetweenReference - Variable in class com.google.android.exoplayer2.metadata.id3.MlltFrame
-
- MSG_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
-
Applications or extensions may define custom
MSG_* constants that can be passed to
Renderers.
- MSG_SET_AUDIO_ATTRIBUTES - Static variable in class com.google.android.exoplayer2.C
-
A type of a message that can be passed to an audio
Renderer via
ExoPlayer#createMessage(Target).
- MSG_SET_AUX_EFFECT_INFO - Static variable in class com.google.android.exoplayer2.C
-
A type of a message that can be passed to an audio
Renderer via
ExoPlayer#createMessage(Target).
- MSG_SET_CAMERA_MOTION_LISTENER - Static variable in class com.google.android.exoplayer2.C
-
The type of a message that can be passed to a camera motion
Renderer via
ExoPlayer#createMessage(Target).
- MSG_SET_SCALING_MODE - Static variable in class com.google.android.exoplayer2.C
-
The type of a message that can be passed to a
MediaCodec-based video
Renderer
via
ExoPlayer#createMessage(Target).
- MSG_SET_SURFACE - Static variable in class com.google.android.exoplayer2.C
-
The type of a message that can be passed to a video
Renderer via
ExoPlayer#createMessage(Target).
- MSG_SET_VIDEO_DECODER_OUTPUT_BUFFER_RENDERER - Static variable in class com.google.android.exoplayer2.C
-
- MSG_SET_VIDEO_FRAME_METADATA_LISTENER - Static variable in class com.google.android.exoplayer2.C
-
The type of a message that can be passed to a video
Renderer via
ExoPlayer#createMessage(Target).
- MSG_SET_VOLUME - Static variable in class com.google.android.exoplayer2.C
-
A type of a message that can be passed to an audio
Renderer via
ExoPlayer#createMessage(Target).
- msToUs(long) - Static method in class com.google.android.exoplayer2.C
-
- MultiSegmentBase(RangedUri, long, long, long, long, List<SegmentBase.SegmentTimelineElement>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.MultiSegmentBase
-
- MultiSegmentRepresentation(long, Format, String, SegmentBase.MultiSegmentBase, List<Descriptor>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Representation.MultiSegmentRepresentation
-
- muxedAudioFormat - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
-
The format of the audio muxed in the variants.
- muxedCaptionFormats - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
-
The format of the closed captions declared by the playlist.
- obtainMessage(int) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
-
- obtainMessage(int, Object) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
-
- obtainMessage(int, int, int) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
-
- obtainMessage(int, int, int, Object) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
-
- OfflineLicenseHelper<T extends ExoMediaCrypto> - Class in com.google.android.exoplayer2.drm
-
Helper class to download, renew and release offline licenses.
- OfflineLicenseHelper(UUID, ExoMediaDrm.Provider<T>, MediaDrmCallback, Map<String, String>) - Constructor for class com.google.android.exoplayer2.drm.OfflineLicenseHelper
-
Constructs an instance.
- offset - Variable in class com.google.android.exoplayer2.upstream.Allocation
-
- OFFSET_SAMPLE_RELATIVE - Static variable in class com.google.android.exoplayer2.Format
-
A value for
Format.subsampleOffsetUs to indicate that subsample timestamps are relative to
the timestamps of their parent samples.
- offsets - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
-
The chunk byte offsets.
- OggExtractor - Class in com.google.android.exoplayer2.extractor.ogg
-
Extracts data from the Ogg container format.
- OggExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ogg.OggExtractor
-
- OkHttpDataSource - Class in com.google.android.exoplayer2.ext.okhttp
-
- OkHttpDataSource(Call.Factory, String) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
-
- OkHttpDataSource(Call.Factory, String, CacheControl, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
-
- OkHttpDataSource(Call.Factory, String, Predicate<String>) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
-
- OkHttpDataSource(Call.Factory, String, Predicate<String>, CacheControl, HttpDataSource.RequestProperties) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
-
- OkHttpDataSourceFactory - Class in com.google.android.exoplayer2.ext.okhttp
-
- OkHttpDataSourceFactory(Call.Factory, String) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSourceFactory
-
- OkHttpDataSourceFactory(Call.Factory, String, CacheControl) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSourceFactory
-
- OkHttpDataSourceFactory(Call.Factory, String, TransferListener) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSourceFactory
-
- OkHttpDataSourceFactory(Call.Factory, String, TransferListener, CacheControl) - Constructor for class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSourceFactory
-
- onActionScheduleFinished() - Method in interface com.google.android.exoplayer2.testutil.ActionSchedule.Callback
-
Called when action schedule finished executing all its actions.
- onActionScheduleFinished() - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
-
- onAdClicked() - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader.EventListener
-
Called when the user clicks through an ad (for example, following a 'learn more' link).
- onAddQueueItem(Player, MediaDescriptionCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueEditor
-
See MediaSessionCompat.Callback#onAddQueueItem(MediaDescriptionCompat description).
- onAddQueueItem(Player, MediaDescriptionCompat, int) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueEditor
-
See MediaSessionCompat.Callback#onAddQueueItem(MediaDescriptionCompat description, int
index).
- onAddQueueItem(Player, MediaDescriptionCompat) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
-
- onAddQueueItem(Player, MediaDescriptionCompat, int) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
-
- onAdError(AdErrorEvent) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- onAdEvent(AdEvent) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- onAdLoadError(AdsMediaSource.AdLoadException, DataSpec) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader.EventListener
-
Called when there was an error loading ads.
- onAdPlaybackStarted(AnalyticsListener.EventTime, String, String) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager.Listener
-
Called when a session is interrupted by ad playback.
- onAdPlaybackStarted(AnalyticsListener.EventTime, String, String) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onAdPlaybackState(AdPlaybackState) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader.EventListener
-
Called when the ad playback state has been updated.
- onAdsManagerLoaded(AdsManagerLoadedEvent) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- onAdTapped() - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader.EventListener
-
Called when the user taps a non-clickthrough part of an ad.
- onAspectRatioUpdated(float, float, boolean) - Method in interface com.google.android.exoplayer2.ui.AspectRatioFrameLayout.AspectRatioListener
-
Called when either the target aspect ratio or the view aspect ratio is updated.
- onAttachedToHost(PlaybackGlueHost) - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
-
- onAttachedToWindow() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
- onAudioAttributesChanged(AudioAttributes) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onAudioAttributesChanged(AnalyticsListener.EventTime, AudioAttributes) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when the audio attributes change.
- onAudioAttributesChanged(AudioAttributes) - Method in interface com.google.android.exoplayer2.audio.AudioListener
-
Called when the audio attributes change.
- onAudioAttributesChanged(AnalyticsListener.EventTime, AudioAttributes) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onAudioCapabilitiesChanged(AudioCapabilities) - Method in interface com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver.Listener
-
Called when the audio capabilities change.
- onAudioDecoderInitialized(String, long, long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onAudioDecoderInitialized(String, long, long) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
-
Called when a decoder is created.
- onAudioDisabled(DecoderCounters) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onAudioDisabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
-
Called when the renderer is disabled.
- onAudioEnabled(DecoderCounters) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onAudioEnabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
-
Called when the renderer is enabled.
- onAudioInputFormatChanged(Format) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onAudioInputFormatChanged(Format) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
-
Called when the format of the media being consumed by the renderer changes.
- onAudioSessionId(int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onAudioSessionId(AnalyticsListener.EventTime, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when the audio session id is set.
- onAudioSessionId(int) - Method in interface com.google.android.exoplayer2.audio.AudioListener
-
Called when the audio session is set.
- onAudioSessionId(int) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
-
Called when the audio session is set.
- onAudioSessionId(int) - Method in interface com.google.android.exoplayer2.audio.AudioSink.Listener
-
Called if the audio sink has started rendering audio to a new platform audio session.
- onAudioSessionId(int) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
Called when the audio session id becomes known.
- onAudioSessionId(int) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
Called when the audio session id becomes known.
- onAudioSessionId(AnalyticsListener.EventTime, int) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onAudioSinkUnderrun(int, long, long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onAudioSinkUnderrun(int, long, long) - Method in interface com.google.android.exoplayer2.audio.AudioRendererEventListener
-
- onAudioTrackPositionDiscontinuity() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onAudioTrackPositionDiscontinuity() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- onAudioTrackUnderrun(int, long, long) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onAudioTrackUnderrun(int, long, long) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- onAudioUnderrun(AnalyticsListener.EventTime, int, long, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when an audio underrun occurred.
- onAudioUnderrun(AnalyticsListener.EventTime, int, long, long) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onAudioUnderrun(AnalyticsListener.EventTime, int, long, long) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onBandwidthEstimate(AnalyticsListener.EventTime, int, long, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when the bandwidth estimate for the current data source has been updated.
- onBandwidthEstimate(AnalyticsListener.EventTime, int, long, long) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onBandwidthEstimate(AnalyticsListener.EventTime, int, long, long) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onBandwidthSample(int, long, long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onBandwidthSample(int, long, long) - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter.EventListener
-
Called periodically to indicate that bytes have been transferred or the estimated bitrate has
changed.
- onBind(Intent) - Method in class com.google.android.exoplayer2.offline.DownloadService
-
- onBitmap(Bitmap) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager.BitmapCallback
-
Called when
Bitmap is available.
- onBufferRead() - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
-
Called when the renderer read a sample from the buffer.
- onBytesTransferred(DataSource, DataSpec, boolean, int) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- onBytesTransferred(DataSource, DataSpec, boolean, int) - Method in interface com.google.android.exoplayer2.upstream.TransferListener
-
Called incrementally during a transfer.
- onCachedBytesRead(long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.CacheDataSource.EventListener
-
Called when bytes have been read from the cache.
- onCacheIgnored(int) - Method in interface com.google.android.exoplayer2.upstream.cache.CacheDataSource.EventListener
-
Called when the current request ignores cache.
- onCacheInitialized() - Method in interface com.google.android.exoplayer2.upstream.cache.CacheEvictor
-
Called when cache has been initialized.
- onCacheInitialized() - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
-
- onCacheInitialized() - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
-
- onCameraMotion(long, float[]) - Method in interface com.google.android.exoplayer2.video.spherical.CameraMotionListener
-
Called when a new camera motion is read.
- onCameraMotionReset() - Method in interface com.google.android.exoplayer2.video.spherical.CameraMotionListener
-
Called when the camera motion track position is reset or the track is disabled.
- onCastSessionAvailable() - Method in interface com.google.android.exoplayer2.ext.cast.SessionAvailabilityListener
-
Called when a cast session becomes available to the player.
- onCastSessionUnavailable() - Method in interface com.google.android.exoplayer2.ext.cast.SessionAvailabilityListener
-
Called when the cast session becomes unavailable.
- onChildSourceInfoRefreshed(MediaSource.MediaPeriodId, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
-
- onChildSourceInfoRefreshed(Void, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
-
- onChildSourceInfoRefreshed(T, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
-
Called when the source info of a child source has been refreshed.
- onChildSourceInfoRefreshed(ConcatenatingMediaSource.MediaSourceHolder, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- onChildSourceInfoRefreshed(Void, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
-
Deprecated.
- onChildSourceInfoRefreshed(Void, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
-
- onChildSourceInfoRefreshed(Void, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
-
- onChildSourceInfoRefreshed(Integer, MediaSource, Timeline) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
-
- onChunkLoadCompleted(Chunk) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
-
Called when the
ChunkSampleStream has finished loading a chunk obtained from this
source.
- onChunkLoadCompleted(Chunk) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
-
- onChunkLoadCompleted(Chunk) - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerTrackEmsgHandler
-
Called when the a new chunk in the current media stream has been loaded.
- onChunkLoadCompleted(Chunk) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
-
- onChunkLoadCompleted(Chunk) - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource
-
- onChunkLoadError(Chunk, boolean, Exception, long) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSource
-
Called when the
ChunkSampleStream encounters an error loading a chunk obtained from
this source.
- onChunkLoadError(Chunk, boolean, Exception, long) - Method in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
-
- onChunkLoadError(Chunk, boolean, Exception, long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.DefaultSsChunkSource
-
- onChunkLoadError(Chunk, boolean, Exception, long) - Method in class com.google.android.exoplayer2.testutil.FakeChunkSource
-
- onCodecInitialized(String, long, long) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onCodecInitialized(String, long, long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Called when a
MediaCodec has been created and configured.
- onCodecInitialized(String, long, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onCommand(Player, ControlDispatcher, String, Bundle, ResultReceiver) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.CommandReceiver
-
See MediaSessionCompat.Callback#onCommand(String, Bundle, ResultReceiver).
- onCommand(Player, ControlDispatcher, String, Bundle, ResultReceiver) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
-
- onCommand(Player, ControlDispatcher, String, Bundle, ResultReceiver) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
-
- onConfigure(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
-
Called when the processor is configured for a new input format.
- onConfigure(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
-
- onConfigure(AudioProcessor.AudioFormat) - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
-
- onContentAspectRatioChanged(float, AspectRatioFrameLayout, View) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Called when there's a change in the aspect ratio of the content being displayed.
- onContinueLoadingRequested(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
- onContinueLoadingRequested(HlsSampleStreamWrapper) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- onContinueLoadingRequested(MediaPeriod) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- onContinueLoadingRequested(T) - Method in interface com.google.android.exoplayer2.source.SequenceableLoader.Callback
-
- onContinueLoadingRequested(ChunkSampleStream<FakeChunkSource>) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
-
- onCreate(SQLiteDatabase) - Method in class com.google.android.exoplayer2.database.ExoDatabaseProvider
-
- onCreate() - Method in class com.google.android.exoplayer2.offline.DownloadService
-
- onCreate(Bundle) - Method in class com.google.android.exoplayer2.testutil.HostActivity
-
- onCues(List<Cue>) - Method in interface com.google.android.exoplayer2.text.TextOutput
-
Called when there is a change in the
Cues.
- onCues(List<Cue>) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
- onCurrentWindowIndexChanged(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
-
Called when the current window index changed.
- onCurrentWindowIndexChanged(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
-
- onCustomAction(Player, ControlDispatcher, String, Bundle) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.CustomActionProvider
-
Called when a custom action provided by this provider is sent to the media session.
- onCustomAction(Player, ControlDispatcher, String, Bundle) - Method in class com.google.android.exoplayer2.ext.mediasession.RepeatModeActionProvider
-
- onCustomAction(Player, String, Intent) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.CustomActionReceiver
-
Called when a custom action has been received.
- onDashManifestPublishTimeExpired(long) - Method in interface com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerEmsgCallback
-
Called when the manifest with the publish time has been expired.
- onDashManifestRefreshRequested() - Method in interface com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerEmsgCallback
-
Called when the current manifest should be refreshed.
- onDataRead(int) - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
-
- onDecoderDisabled(AnalyticsListener.EventTime, int, DecoderCounters) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when an audio or video decoder has been disabled.
- onDecoderDisabled(AnalyticsListener.EventTime, int, DecoderCounters) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
-
- onDecoderDisabled(AnalyticsListener.EventTime, int, DecoderCounters) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onDecoderEnabled(AnalyticsListener.EventTime, int, DecoderCounters) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when an audio or video decoder has been enabled.
- onDecoderEnabled(AnalyticsListener.EventTime, int, DecoderCounters) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onDecoderInitialized(AnalyticsListener.EventTime, int, String, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when an audio or video decoder has been initialized.
- onDecoderInitialized(AnalyticsListener.EventTime, int, String, long) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onDecoderInitialized(String, long, long) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Called when a decoder has been created and configured.
- onDecoderInputFormatChanged(AnalyticsListener.EventTime, int, Format) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when an audio or video decoder input format changed.
- onDecoderInputFormatChanged(AnalyticsListener.EventTime, int, Format) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onDestroy() - Method in class com.google.android.exoplayer2.offline.DownloadService
-
- onDetachedFromHost() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
-
- onDetachedFromWindow() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
- onDetachedFromWindow() - Method in class com.google.android.exoplayer2.ui.spherical.SphericalGLSurfaceView
-
- onDisabled() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onDisabled() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- onDisabled() - Method in class com.google.android.exoplayer2.BaseRenderer
-
Called when the renderer is disabled.
- onDisabled() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- onDisabled() - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
-
- onDisabled() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
Called when the renderer is disabled.
- onDisabled() - Method in class com.google.android.exoplayer2.text.TextRenderer
-
- onDisabled() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onDisabled() - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
- onDisabled() - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
-
- onDiscontinuity() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Called to notify the selection of a position discontinuity.
- onDowngrade(SQLiteDatabase, int, int) - Method in class com.google.android.exoplayer2.database.ExoDatabaseProvider
-
- onDownloadChanged(DownloadManager, Download) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
-
Called when the state of a download changes.
- onDownloadChanged(Download) - Method in class com.google.android.exoplayer2.offline.DownloadService
-
- onDownloadChanged(DownloadManager, Download) - Method in class com.google.android.exoplayer2.testutil.TestDownloadManagerListener
-
- onDownloadRemoved(DownloadManager, Download) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
-
Called when a download is removed.
- onDownloadRemoved(Download) - Method in class com.google.android.exoplayer2.offline.DownloadService
-
- onDownloadRemoved(DownloadManager, Download) - Method in class com.google.android.exoplayer2.testutil.TestDownloadManagerListener
-
- onDownloadsPausedChanged(DownloadManager, boolean) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
-
- onDownstreamFormatChanged(int, MediaSource.MediaPeriodId, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onDownstreamFormatChanged(AnalyticsListener.EventTime, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when the downstream format sent to the renderers changed.
- onDownstreamFormatChanged(AnalyticsListener.EventTime, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onDownstreamFormatChanged(int, MediaSource.MediaPeriodId, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
-
Called when a downstream format change occurs (i.e.
- onDownstreamFormatChanged(AnalyticsListener.EventTime, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onDraw(Canvas) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- onDrmKeysLoaded() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onDrmKeysLoaded(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called each time drm keys are loaded.
- onDrmKeysLoaded() - Method in interface com.google.android.exoplayer2.drm.DefaultDrmSessionEventListener
-
Called each time keys are loaded.
- onDrmKeysLoaded(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onDrmKeysRemoved() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onDrmKeysRemoved(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called each time offline drm keys are removed.
- onDrmKeysRemoved() - Method in interface com.google.android.exoplayer2.drm.DefaultDrmSessionEventListener
-
Called each time offline keys are removed.
- onDrmKeysRemoved(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onDrmKeysRestored() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onDrmKeysRestored(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called each time offline drm keys are restored.
- onDrmKeysRestored() - Method in interface com.google.android.exoplayer2.drm.DefaultDrmSessionEventListener
-
Called each time offline keys are restored.
- onDrmKeysRestored(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onDrmSessionAcquired() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onDrmSessionAcquired(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called each time a drm session is acquired.
- onDrmSessionAcquired() - Method in interface com.google.android.exoplayer2.drm.DefaultDrmSessionEventListener
-
Called each time a drm session is acquired.
- onDrmSessionAcquired(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onDrmSessionManagerError(Exception) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onDrmSessionManagerError(AnalyticsListener.EventTime, Exception) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when a drm error occurs.
- onDrmSessionManagerError(AnalyticsListener.EventTime, Exception) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onDrmSessionManagerError(Exception) - Method in interface com.google.android.exoplayer2.drm.DefaultDrmSessionEventListener
-
Called when a drm error occurs.
- onDrmSessionManagerError(AnalyticsListener.EventTime, Exception) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onDrmSessionReleased() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onDrmSessionReleased(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called each time a drm session is released.
- onDrmSessionReleased() - Method in interface com.google.android.exoplayer2.drm.DefaultDrmSessionEventListener
-
Called each time a drm session is released.
- onDrmSessionReleased(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onDroppedFrames(int, long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onDroppedFrames(int, long) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
-
Called to report the number of frames dropped by the renderer.
- onDroppedVideoFrames(AnalyticsListener.EventTime, int, long) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called after video frames have been dropped.
- onDroppedVideoFrames(AnalyticsListener.EventTime, int, long) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onDroppedVideoFrames(AnalyticsListener.EventTime, int, long) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onEnabled(boolean) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onEnabled(boolean) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- onEnabled(boolean) - Method in class com.google.android.exoplayer2.BaseRenderer
-
Called when the renderer is enabled.
- onEnabled(boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- onEnabled(boolean) - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
Called when the renderer is enabled.
- onEnabled(boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onEnabled(boolean) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
- onEvent(ExoMediaDrm<? extends T>, byte[], int, int, byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm.OnEventListener
-
Called when an event occurs that requires the app to be notified
- onFinished() - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
-
- onFinished() - Method in interface com.google.android.exoplayer2.testutil.HostActivity.HostedTest
-
Called on the test thread after the test has finished and been stopped.
- onFlush() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
-
Called when the processor is flushed, directly or as part of resetting.
- onFlush() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
-
- onFocusChanged(boolean, int, Rect) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- onFormatChanged(Format) - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
-
Called when the renderer reads a new format.
- onFrameAvailable(SurfaceTexture) - Method in class com.google.android.exoplayer2.util.EGLSurfaceTexture
-
- onFrameAvailable() - Method in interface com.google.android.exoplayer2.util.EGLSurfaceTexture.TextureImageListener
-
Called when the
SurfaceTexture receives a new frame from its image producer.
- onIdle(DownloadManager) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
-
Called when there is no active download left.
- onIdle(DownloadManager) - Method in class com.google.android.exoplayer2.testutil.TestDownloadManagerListener
-
- onInitializeAccessibilityEvent(AccessibilityEvent) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- onInitialized(DownloadManager) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
-
Called when all downloads have been restored.
- onInitialized(DownloadManager) - Method in class com.google.android.exoplayer2.testutil.TestDownloadManagerListener
-
- onInputFormatChanged(FormatHolder) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onInputFormatChanged(FormatHolder) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- onInputFormatChanged(FormatHolder) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onInputFormatChanged(FormatHolder) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Called when a new format is read from the upstream source.
- onIsPlayingChanged(boolean) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onIsPlayingChanged(AnalyticsListener.EventTime, boolean) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when the player starts or stops playing.
- onIsPlayingChanged(boolean) - Method in interface com.google.android.exoplayer2.Player.EventListener
-
- onIsPlayingChanged(AnalyticsListener.EventTime, boolean) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onKeyDown(int, KeyEvent) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- onKeyStatusChange(ExoMediaDrm<? extends T>, byte[], List<ExoMediaDrm.KeyStatus>, boolean) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm.OnKeyStatusChangeListener
-
Called when the keys in a session change status, such as when the license is renewed or
expires.
- onLayout(boolean, int, int, int, int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- onLoadCanceled(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onLoadCanceled(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when a media source canceled loading data.
- onLoadCanceled(Chunk, long, long, boolean) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- onLoadCanceled(ParsingLoadable<HlsPlaylist>, long, long, boolean) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
- onLoadCanceled(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
-
Called when a load is canceled.
- onLoadCanceled(ParsingLoadable<SsManifest>, long, long, boolean) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- onLoadCanceled(T, long, long, boolean) - Method in interface com.google.android.exoplayer2.upstream.Loader.Callback
-
Called when a load has been canceled.
- onLoadCanceled(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onLoadCompleted(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onLoadCompleted(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when a media source completed loading data.
- onLoadCompleted(Chunk, long, long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- onLoadCompleted(ParsingLoadable<HlsPlaylist>, long, long) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
- onLoadCompleted(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
-
Called when a load ends.
- onLoadCompleted(ParsingLoadable<SsManifest>, long, long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- onLoadCompleted(T, long, long) - Method in interface com.google.android.exoplayer2.upstream.Loader.Callback
-
Called when a load has completed.
- onLoadCompleted(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onLoaderReleased() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- onLoaderReleased() - Method in interface com.google.android.exoplayer2.upstream.Loader.ReleaseCallback
-
Called when the
Loader has finished being released.
- onLoadError(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData, IOException, boolean) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onLoadError(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData, IOException, boolean) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when a media source loading error occurred.
- onLoadError(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData, IOException, boolean) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onLoadError(Chunk, long, long, IOException, int) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- onLoadError(IOException) - Method in interface com.google.android.exoplayer2.source.ExtractorMediaSource.EventListener
-
Deprecated.
Called when an error occurs loading media data.
- onLoadError(ParsingLoadable<HlsPlaylist>, long, long, IOException, int) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
- onLoadError(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData, IOException, boolean) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
-
Called when a load error occurs.
- onLoadError(int, IOException) - Method in interface com.google.android.exoplayer2.source.SingleSampleMediaSource.EventListener
-
Deprecated.
Called when an error occurs loading media data.
- onLoadError(ParsingLoadable<SsManifest>, long, long, IOException, int) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- onLoadError(T, long, long, IOException, int) - Method in interface com.google.android.exoplayer2.upstream.Loader.Callback
-
Called when a load encounters an error.
- onLoadError(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData, IOException, boolean) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onLoadingChanged(boolean) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onLoadingChanged(AnalyticsListener.EventTime, boolean) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when the player starts or stops loading data from a source.
- onLoadingChanged(boolean) - Method in interface com.google.android.exoplayer2.Player.EventListener
-
Called when the player starts or stops loading the source.
- onLoadingChanged(AnalyticsListener.EventTime, boolean) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onLoadStarted(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onLoadStarted(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when a media source started loading data.
- onLoadStarted(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onLoadStarted(int, MediaSource.MediaPeriodId, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
-
Called when a load begins.
- onLoadStarted(AnalyticsListener.EventTime, MediaSourceEventListener.LoadEventInfo, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onMeasure(int, int) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
- onMeasure(int, int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- onMediaButtonEvent(Player, ControlDispatcher, Intent) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.MediaButtonEventHandler
-
See MediaSessionCompat.Callback#onMediaButtonEvent(Intent).
- onMediaPeriodCreated(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onMediaPeriodCreated(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when a media source created a media period.
- onMediaPeriodCreated(int, MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
-
Called when a media period is created by the media source.
- onMediaPeriodCreated(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onMediaPeriodReleased(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onMediaPeriodReleased(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when a media source released a media period.
- onMediaPeriodReleased(int, MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
-
Called when a media period is released by the media source.
- onMediaPeriodReleased(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onMetadata(Metadata) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onMetadata(AnalyticsListener.EventTime, Metadata) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when there is
Metadata associated with the current playback time.
- onMetadata(Metadata) - Method in interface com.google.android.exoplayer2.metadata.MetadataOutput
-
Called when there is metadata associated with current playback time.
- onMetadata(AnalyticsListener.EventTime, Metadata) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onNotificationCancelled(int) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.NotificationListener
-
- onNotificationCancelled(int, boolean) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.NotificationListener
-
Called after the notification has been cancelled.
- onNotificationPosted(int, Notification, boolean) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.NotificationListener
-
Called each time after the notification has been posted.
- onNotificationStarted(int, Notification) - Method in interface com.google.android.exoplayer2.ui.PlayerNotificationManager.NotificationListener
-
- onOutputFormatChanged(MediaCodec, MediaFormat) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onOutputFormatChanged(MediaCodec, MediaFormat) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- onOutputFormatChanged(MediaCodec, MediaFormat) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onPause() - Method in class com.google.android.exoplayer2.testutil.HostActivity
-
- onPause() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Should be called when the player is no longer visible to the user and if surface_type
is spherical_gl_surface_view.
- onPause() - Method in class com.google.android.exoplayer2.ui.spherical.SphericalGLSurfaceView
-
- onPlaybackParametersChanged(PlaybackParameters) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onPlaybackParametersChanged(AnalyticsListener.EventTime, PlaybackParameters) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when the playback parameters changed.
- onPlaybackParametersChanged(AnalyticsListener.EventTime, PlaybackParameters) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onPlaybackParametersChanged(PlaybackParameters) - Method in interface com.google.android.exoplayer2.Player.EventListener
-
Called when the current playback parameters change.
- onPlaybackParametersChanged(AnalyticsListener.EventTime, PlaybackParameters) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelection
-
- onPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
-
- onPlaybackSpeed(float) - Method in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- onPlaybackSpeed(float) - Method in interface com.google.android.exoplayer2.trackselection.TrackSelection
-
Called to notify the selection of the current playback speed.
- onPlaybackStatsReady(AnalyticsListener.EventTime, PlaybackStats) - Method in interface com.google.android.exoplayer2.analytics.PlaybackStatsListener.Callback
-
Called when a playback session ends and its
PlaybackStats are ready.
- onPlaybackSuppressionReasonChanged(int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onPlaybackSuppressionReasonChanged(AnalyticsListener.EventTime, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when playback suppression reason changed.
- onPlaybackSuppressionReasonChanged(AnalyticsListener.EventTime, int) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onPlaybackSuppressionReasonChanged(int) - Method in interface com.google.android.exoplayer2.Player.EventListener
-
- onPlaybackSuppressionReasonChanged(AnalyticsListener.EventTime, int) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onPlayerError(ExoPlaybackException) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onPlayerError(AnalyticsListener.EventTime, ExoPlaybackException) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when a fatal player error occurred.
- onPlayerError(AnalyticsListener.EventTime, ExoPlaybackException) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onPlayerError(ExoPlaybackException) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- onPlayerError(ExoPlaybackException) - Method in interface com.google.android.exoplayer2.Player.EventListener
-
Called when an error occurs.
- onPlayerError(AnalyticsListener.EventTime, ExoPlaybackException) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
-
- onPlayerError(ExoPlaybackException) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
-
- onPlayerError(AnalyticsListener.EventTime, ExoPlaybackException) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onPlayerErrorInternal(ExoPlaybackException) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
-
- onPlayerStateChanged(boolean, int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onPlayerStateChanged(AnalyticsListener.EventTime, boolean, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when the player state changed.
- onPlayerStateChanged(AnalyticsListener.EventTime, boolean, int) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onPlayerStateChanged(boolean, int) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- onPlayerStateChanged(boolean, int) - Method in interface com.google.android.exoplayer2.Player.EventListener
-
- onPlayerStateChanged(AnalyticsListener.EventTime, boolean, int) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
-
- onPlayerStateChanged(boolean, int) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
-
- onPlayerStateChanged(boolean, int) - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
- onPlayerStateChanged(AnalyticsListener.EventTime, boolean, int) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onPlaylistChanged() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- onPlaylistChanged() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistEventListener
-
Called a playlist changes.
- onPlaylistError(Uri, long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- onPlaylistError(Uri, long) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistEventListener
-
Called if an error is encountered while loading a playlist.
- onPlaylistRefreshRequired(Uri) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- onPositionDiscontinuity(int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onPositionDiscontinuity(AnalyticsListener.EventTime, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when a position discontinuity occurred.
- onPositionDiscontinuity(AnalyticsListener.EventTime, int) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onPositionDiscontinuity() - Method in interface com.google.android.exoplayer2.audio.AudioSink.Listener
-
Called when the audio sink handles a buffer whose timestamp is discontinuous with the last
buffer handled since it was reset.
- onPositionDiscontinuity(int) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- onPositionDiscontinuity(int) - Method in interface com.google.android.exoplayer2.Player.EventListener
-
Called when a position discontinuity occurs without a change to the timeline.
- onPositionDiscontinuity(int) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
-
- onPositionDiscontinuity(int) - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
- onPositionDiscontinuity(AnalyticsListener.EventTime, int) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.BaseRenderer
-
Called when the position is reset.
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
-
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
Called when the position is reset.
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
-
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.text.TextRenderer
-
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
- onPositionReset(long, boolean) - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
-
- onPrepare(boolean) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
-
See MediaSessionCompat.Callback#onPrepare().
- onPrepared() - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
- onPrepared() - Method in interface com.google.android.exoplayer2.LoadControl
-
Called by the player when prepared with a new source.
- onPrepared(DownloadHelper) - Method in interface com.google.android.exoplayer2.offline.DownloadHelper.Callback
-
Called when preparation completes.
- onPrepared(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
- onPrepared() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- onPrepared(MediaPeriod) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- onPrepared(MediaPeriod) - Method in interface com.google.android.exoplayer2.source.MediaPeriod.Callback
-
Called when preparation completes.
- onPrepareError(DownloadHelper, IOException) - Method in interface com.google.android.exoplayer2.offline.DownloadHelper.Callback
-
Called when preparation fails.
- onPrepareError(MediaSource.MediaPeriodId, IOException) - Method in interface com.google.android.exoplayer2.source.MaskingMediaPeriod.PrepareErrorListener
-
Called the first time an error occurs while refreshing source info or preparing the period.
- onPrepareFromMediaId(String, boolean, Bundle) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
-
See MediaSessionCompat.Callback#onPrepareFromMediaId(String, Bundle).
- onPrepareFromSearch(String, boolean, Bundle) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
-
See MediaSessionCompat.Callback#onPrepareFromSearch(String, Bundle).
- onPrepareFromUri(Uri, boolean, Bundle) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.PlaybackPreparer
-
See MediaSessionCompat.Callback#onPrepareFromUri(Uri, Bundle).
- onPrimaryPlaylistRefreshed(HlsMediaPlaylist) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
-
- onPrimaryPlaylistRefreshed(HlsMediaPlaylist) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PrimaryPlaylistListener
-
Called when the primary playlist changes.
- onProcessedOutputBuffer(long) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onProcessedOutputBuffer(long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Called when an output buffer is successfully processed.
- onProcessedOutputBuffer(long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
Called when an output buffer is successfully processed.
- onProcessedOutputBuffer(long) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Called when an output buffer is successfully processed.
- onProcessedTunneledBuffer(long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
Called when a buffer was processed in tunneling mode.
- onProgress(long, long, float) - Method in interface com.google.android.exoplayer2.offline.Downloader.ProgressListener
-
Called when progress is made during a download operation.
- onProgress(long, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.CacheUtil.ProgressListener
-
Called when progress is made during a cache operation.
- onProgressUpdate(long, long) - Method in interface com.google.android.exoplayer2.ui.PlayerControlView.ProgressUpdateListener
-
Called when progress needs to be updated.
- onQueueEndOfStream() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
-
Called when the end-of-stream is queued to the processor.
- onQueueEndOfStream() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
-
- onQueueEndOfStream() - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
-
- onQueueInputBuffer(DecoderInputBuffer) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onQueueInputBuffer(DecoderInputBuffer) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Called immediately before an input buffer is queued into the codec.
- onQueueInputBuffer(DecoderInputBuffer) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
Called immediately before an input buffer is queued into the codec.
- onQueueInputBuffer(VideoDecoderInputBuffer) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Called immediately before an input buffer is queued into the decoder.
- onReadingStarted(int, MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onReadingStarted(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when the player started reading a media period.
- onReadingStarted(int, MediaSource.MediaPeriodId) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
-
Called when a media period is first being read from.
- onReadingStarted(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onReleased() - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
- onReleased() - Method in interface com.google.android.exoplayer2.LoadControl
-
Called by the player when released.
- onRemoveQueueItem(Player, MediaDescriptionCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueEditor
-
See MediaSessionCompat.Callback#onRemoveQueueItem(MediaDescriptionCompat
description).
- onRemoveQueueItem(Player, MediaDescriptionCompat) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
-
- onRenderedFirstFrame(Surface) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onRenderedFirstFrame() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onRenderedFirstFrame(AnalyticsListener.EventTime, Surface) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when a frame is rendered for the first time since setting the surface, and when a frame
is rendered for the first time since the renderer was reset.
- onRenderedFirstFrame(AnalyticsListener.EventTime, Surface) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onRenderedFirstFrame() - Method in interface com.google.android.exoplayer2.video.VideoListener
-
Called when a frame is rendered for the first time since setting the surface, and when a frame
is rendered for the first time since a video track was selected.
- onRenderedFirstFrame(Surface) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
-
Called when a frame is rendered for the first time since setting the surface, and when a frame
is rendered for the first time since the renderer was reset.
- onRendererOffsetChanged(long) - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
Called when the renderer's offset has been changed.
- onRepeatModeChanged(int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onRepeatModeChanged(AnalyticsListener.EventTime, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when the repeat mode changed.
- onRepeatModeChanged(int) - Method in interface com.google.android.exoplayer2.Player.EventListener
-
- onRepeatModeChanged(AnalyticsListener.EventTime, int) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onRequirementsStateChanged(DownloadManager, Requirements, int) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
-
Called when the download requirements state changed.
- onRequirementsStateChanged(RequirementsWatcher, int) - Method in interface com.google.android.exoplayer2.scheduler.RequirementsWatcher.Listener
-
Called when there is a change on the met requirements.
- onReset() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
-
Called when the processor is reset.
- onReset() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onReset() - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
-
- onReset() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- onReset() - Method in class com.google.android.exoplayer2.audio.TeeAudioProcessor
-
- onReset() - Method in class com.google.android.exoplayer2.BaseRenderer
-
Called when the renderer is reset.
- onReset() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- onReset() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
Called when the renderer is reset.
- onReset() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onReset() - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
- onResume() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Should be called when the player is visible to the user and if surface_type is spherical_gl_surface_view.
- onResume() - Method in class com.google.android.exoplayer2.ui.spherical.SphericalGLSurfaceView
-
- onRtlPropertiesChanged(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- onSampleStreamReleased(ChunkSampleStream<T>) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkSampleStream.ReleaseCallback
-
- onScrubMove(TimeBar, long) - Method in interface com.google.android.exoplayer2.ui.TimeBar.OnScrubListener
-
Called when the user moves the scrubber.
- onScrubStart(TimeBar, long) - Method in interface com.google.android.exoplayer2.ui.TimeBar.OnScrubListener
-
Called when the user starts moving the scrubber.
- onScrubStop(TimeBar, long, boolean) - Method in interface com.google.android.exoplayer2.ui.TimeBar.OnScrubListener
-
Called when the user stops moving the scrubber.
- onSeekFinished() - Method in interface com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSeeker
-
Called when a seek operation finishes.
- onSeekOperationFinished(boolean, long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
-
- onSeekProcessed() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onSeekProcessed(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when a seek operation was processed.
- onSeekProcessed(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onSeekProcessed() - Method in interface com.google.android.exoplayer2.Player.EventListener
-
Called when all pending seek requests have been processed by the player.
- onSeekProcessed(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onSeekStarted(AnalyticsListener.EventTime) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when a seek operation started.
- onSeekStarted(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onSeekStarted(AnalyticsListener.EventTime) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onSelectionActivated(Object) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
-
- onSelectionActivated(Object) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
-
Called by the player when a
TrackSelectorResult previously generated by
#selectTracks(RendererCapabilities[], TrackGroupArray, MediaPeriodId, Timeline) is activated.
- onSessionActive(AnalyticsListener.EventTime, String) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager.Listener
-
Called when a session becomes active, i.e.
- onSessionActive(AnalyticsListener.EventTime, String) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onSessionCreated(AnalyticsListener.EventTime, String) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager.Listener
-
Called when a new session is created as a result of #updateSessions(EventTime).
- onSessionCreated(AnalyticsListener.EventTime, String) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onSessionFinished(AnalyticsListener.EventTime, String, boolean) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager.Listener
-
Called when a session is permanently finished.
- onSessionFinished(AnalyticsListener.EventTime, String, boolean) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onSetCaptioningEnabled(Player, boolean) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.CaptionCallback
-
See MediaSessionCompat.Callback#onSetCaptioningEnabled(boolean).
- onSetRating(Player, RatingCompat) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.RatingCallback
-
See MediaSessionCompat.Callback#onSetRating(RatingCompat).
- onSetRating(Player, RatingCompat, Bundle) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.RatingCallback
-
See MediaSessionCompat.Callback#onSetRating(RatingCompat, Bundle).
- onShuffleModeChanged(AnalyticsListener.EventTime, boolean) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when the shuffle mode changed.
- onShuffleModeChanged(AnalyticsListener.EventTime, boolean) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onShuffleModeEnabledChanged(boolean) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onShuffleModeEnabledChanged(boolean) - Method in interface com.google.android.exoplayer2.Player.EventListener
-
- onSingleTapUp(MotionEvent) - Method in interface com.google.android.exoplayer2.ui.spherical.SingleTapListener
-
Notified when a tap occurs with the up
MotionEvent that triggered it.
- onSkipToNext(Player, ControlDispatcher) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
-
See MediaSessionCompat.Callback#onSkipToNext().
- onSkipToNext(Player, ControlDispatcher) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
-
- onSkipToPrevious(Player, ControlDispatcher) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
-
See MediaSessionCompat.Callback#onSkipToPrevious().
- onSkipToPrevious(Player, ControlDispatcher) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
-
- onSkipToQueueItem(Player, ControlDispatcher, long) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
-
See MediaSessionCompat.Callback#onSkipToQueueItem(long).
- onSkipToQueueItem(Player, ControlDispatcher, long) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
-
- onSourceInfoRefreshed(MediaSource, Timeline) - Method in interface com.google.android.exoplayer2.source.MediaSource.MediaSourceCaller
-
Called when the
Timeline has been refreshed.
- onSourceInfoRefreshed(long, boolean, boolean) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
-
- onSpanAdded(Cache, CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache.Listener
-
Called when a
CacheSpan is added to the cache.
- onSpanAdded(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
-
- onSpanAdded(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
-
- onSpanAdded(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
-
- onSpanRemoved(Cache, CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache.Listener
-
Called when a
CacheSpan is removed from the cache.
- onSpanRemoved(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
-
- onSpanRemoved(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
-
- onSpanRemoved(Cache, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
-
- onSpanTouched(Cache, CacheSpan, CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache.Listener
-
Called when an existing
CacheSpan is touched, causing it to be replaced.
- onSpanTouched(Cache, CacheSpan, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
-
- onSpanTouched(Cache, CacheSpan, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
-
- onSpanTouched(Cache, CacheSpan, CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
-
- onStart(HostActivity, Surface) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
-
- onStart(HostActivity, Surface) - Method in interface com.google.android.exoplayer2.testutil.HostActivity.HostedTest
-
Called on the main thread when the test is started.
- onStart() - Method in class com.google.android.exoplayer2.testutil.HostActivity
-
- onStartCommand(Intent, int, int) - Method in class com.google.android.exoplayer2.offline.DownloadService
-
- onStarted() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onStarted() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- onStarted() - Method in class com.google.android.exoplayer2.BaseRenderer
-
Called when the renderer is started.
- onStarted() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- onStarted() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
Called when the renderer is started.
- onStarted() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onStarted() - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
- onStartFile(Cache, String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.CacheEvictor
-
Called when a writer starts writing to the cache.
- onStartFile(Cache, String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
-
- onStartFile(Cache, String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
-
- onStartJob(JobParameters) - Method in class com.google.android.exoplayer2.ext.jobdispatcher.JobDispatcherScheduler.JobDispatcherSchedulerService
-
Deprecated.
- onStartJob(JobParameters) - Method in class com.google.android.exoplayer2.scheduler.PlatformScheduler.PlatformSchedulerService
-
- onStop() - Method in class com.google.android.exoplayer2.testutil.HostActivity
-
- onStopJob(JobParameters) - Method in class com.google.android.exoplayer2.ext.jobdispatcher.JobDispatcherScheduler.JobDispatcherSchedulerService
-
Deprecated.
- onStopJob(JobParameters) - Method in class com.google.android.exoplayer2.scheduler.PlatformScheduler.PlatformSchedulerService
-
- onStopped() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onStopped() - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- onStopped() - Method in class com.google.android.exoplayer2.BaseRenderer
-
Called when the renderer is stopped.
- onStopped() - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
- onStopped() - Method in interface com.google.android.exoplayer2.LoadControl
-
Called by the player when stopped.
- onStopped() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- onStopped() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
Called when the renderer is stopped.
- onStopped() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onStopped() - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
- onStreamChanged(Format[], long) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- onStreamChanged(Format[], long) - Method in class com.google.android.exoplayer2.BaseRenderer
-
Called when the renderer's stream has changed.
- onStreamChanged(Format[], long) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
-
- onStreamChanged(Format[], long) - Method in class com.google.android.exoplayer2.text.TextRenderer
-
- onStreamChanged(Format[], long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- onStreamChanged(Format[], long) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
- onStreamChanged(Format[], long) - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
-
- onSurfaceSizeChanged(int, int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onSurfaceSizeChanged(AnalyticsListener.EventTime, int, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when the output surface size changed.
- onSurfaceSizeChanged(AnalyticsListener.EventTime, int, int) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onSurfaceSizeChanged(int, int) - Method in interface com.google.android.exoplayer2.video.VideoListener
-
Called each time there's a change in the size of the surface onto which the video is being
rendered.
- onTaskRemoved(Intent) - Method in class com.google.android.exoplayer2.offline.DownloadService
-
- onTestFinished(DecoderCounters, DecoderCounters) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
-
- onTimelineChanged(Timeline, int) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onTimelineChanged(AnalyticsListener.EventTime, int) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when the timeline changed.
- onTimelineChanged(AnalyticsListener.EventTime, int) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onTimelineChanged(Timeline, int) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- onTimelineChanged(Player) - Method in interface com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector.QueueNavigator
-
Called when the timeline of the player has changed.
- onTimelineChanged(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
-
- onTimelineChanged(Timeline, int) - Method in class com.google.android.exoplayer2.Player.DefaultEventListener
-
Deprecated.
- onTimelineChanged(Timeline, Object, int) - Method in class com.google.android.exoplayer2.Player.DefaultEventListener
-
Deprecated.
- onTimelineChanged(Timeline, Object) - Method in class com.google.android.exoplayer2.Player.DefaultEventListener
-
- onTimelineChanged(Timeline, int) - Method in interface com.google.android.exoplayer2.Player.EventListener
-
Called when the timeline has been refreshed.
- onTimelineChanged(Timeline, Object, int) - Method in interface com.google.android.exoplayer2.Player.EventListener
-
- onTimelineChanged(Timeline, int) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
-
- onTimelineChanged(AnalyticsListener.EventTime, int) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onTouchEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- onTouchEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- onTrackballEvent(MotionEvent) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- onTracksChanged(TrackGroupArray, TrackSelectionArray) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onTracksChanged(AnalyticsListener.EventTime, TrackGroupArray, TrackSelectionArray) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when the available or selected tracks for the renderers changed.
- onTracksChanged(AnalyticsListener.EventTime, TrackGroupArray, TrackSelectionArray) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onTracksChanged(TrackGroupArray, TrackSelectionArray) - Method in interface com.google.android.exoplayer2.Player.EventListener
-
Called when the available or selected tracks change.
- onTracksChanged(TrackGroupArray, TrackSelectionArray) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
-
- onTracksChanged(AnalyticsListener.EventTime, TrackGroupArray, TrackSelectionArray) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onTrackSelectionChanged(boolean, List<DefaultTrackSelector.SelectionOverride>) - Method in interface com.google.android.exoplayer2.ui.TrackSelectionView.TrackSelectionListener
-
Called when the selected tracks changed.
- onTrackSelectionsInvalidated() - Method in interface com.google.android.exoplayer2.trackselection.TrackSelector.InvalidationListener
-
Called by a
TrackSelector to indicate that selections it has previously made are no
longer valid.
- onTracksSelected(Renderer[], TrackGroupArray, TrackSelectionArray) - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
- onTracksSelected(Renderer[], TrackGroupArray, TrackSelectionArray) - Method in interface com.google.android.exoplayer2.LoadControl
-
Called by the player when a track selection occurs.
- onTracksSelected(boolean, List<DefaultTrackSelector.SelectionOverride>) - Method in interface com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder.DialogCallback
-
Called when tracks are selected.
- onTransferEnd(DataSource, DataSpec, boolean) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- onTransferEnd(DataSource, DataSpec, boolean) - Method in interface com.google.android.exoplayer2.upstream.TransferListener
-
Called when a transfer ends.
- onTransferInitializing(DataSource, DataSpec, boolean) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- onTransferInitializing(DataSource, DataSpec, boolean) - Method in interface com.google.android.exoplayer2.upstream.TransferListener
-
Called when a transfer is being initialized.
- onTransferStart(DataSource, DataSpec, boolean) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- onTransferStart(DataSource, DataSpec, boolean) - Method in interface com.google.android.exoplayer2.upstream.TransferListener
-
Called when a transfer starts.
- onUnderrun(int, long, long) - Method in interface com.google.android.exoplayer2.audio.AudioSink.Listener
-
Called when the audio sink runs out of data.
- onUpgrade(SQLiteDatabase, int, int) - Method in class com.google.android.exoplayer2.database.ExoDatabaseProvider
-
- onUpstreamDiscarded(int, MediaSource.MediaPeriodId, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onUpstreamDiscarded(AnalyticsListener.EventTime, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when data is removed from the back of a media buffer, typically so that it can be
re-buffered in a different format.
- onUpstreamDiscarded(int, MediaSource.MediaPeriodId, MediaSourceEventListener.MediaLoadData) - Method in interface com.google.android.exoplayer2.source.MediaSourceEventListener
-
Called when data is removed from the back of a media buffer, typically so that it can be
re-buffered in a different format.
- onUpstreamDiscarded(AnalyticsListener.EventTime, MediaSourceEventListener.MediaLoadData) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onUpstreamFormatChanged(Format) - Method in interface com.google.android.exoplayer2.source.SampleQueue.UpstreamFormatChangedListener
-
Called on the loading thread when an upstream format change occurs.
- onVideoDecoderInitialized(String, long, long) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onVideoDecoderInitialized(String, long, long) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
-
Called when a decoder is created.
- onVideoDisabled(DecoderCounters) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onVideoDisabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
-
Called when the renderer is disabled.
- onVideoEnabled(DecoderCounters) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onVideoEnabled(DecoderCounters) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
-
Called when the renderer is enabled.
- onVideoFrameAboutToBeRendered(long, long, Format, MediaFormat) - Method in interface com.google.android.exoplayer2.video.VideoFrameMetadataListener
-
Called when the video frame about to be rendered.
- onVideoInputFormatChanged(Format) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onVideoInputFormatChanged(Format) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
-
Called when the format of the media being consumed by the renderer changes.
- onVideoSizeChanged(int, int, int, float) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onVideoSizeChanged(AnalyticsListener.EventTime, int, int, int, float) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called before a frame is rendered for the first time since setting the surface, and each time
there's a change in the size or pixel aspect ratio of the video being rendered.
- onVideoSizeChanged(AnalyticsListener.EventTime, int, int, int, float) - Method in class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
- onVideoSizeChanged(AnalyticsListener.EventTime, int, int, int, float) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onVideoSizeChanged(int, int, int, float) - Method in interface com.google.android.exoplayer2.video.VideoListener
-
Called each time there's a change in the size of the video being rendered.
- onVideoSizeChanged(int, int, int, float) - Method in interface com.google.android.exoplayer2.video.VideoRendererEventListener
-
Called before a frame is rendered for the first time since setting the surface, and each time
there's a change in the size, rotation or pixel aspect ratio of the video being rendered.
- onVisibilityChange(int) - Method in interface com.google.android.exoplayer2.ui.PlayerControlView.VisibilityListener
-
Called when the visibility changes.
- onVolumeChanged(float) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
- onVolumeChanged(AnalyticsListener.EventTime, float) - Method in interface com.google.android.exoplayer2.analytics.AnalyticsListener
-
Called when the volume changes.
- onVolumeChanged(float) - Method in interface com.google.android.exoplayer2.audio.AudioListener
-
Called when the volume changes.
- onVolumeChanged(AnalyticsListener.EventTime, float) - Method in class com.google.android.exoplayer2.util.EventLogger
-
- onWaitingForRequirementsChanged(DownloadManager, boolean) - Method in interface com.google.android.exoplayer2.offline.DownloadManager.Listener
-
Called when there is a change in whether this manager has one or more downloads that are not
progressing for the sole reason that the
Requirements are not met.
- open(DataSpec) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSink
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSink
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSink
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
-
- open(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.DataSink
-
Opens the sink to consume the specified data.
- open(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.DataSource
-
Opens the source to read the specified data.
- open() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
Opens the source to read the specified data.
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.DummyDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.FileDataSource
-
- open(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
Opens the source to read the specified data.
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
-
- open(DataSpec) - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
-
- open() - Method in class com.google.android.exoplayer2.util.ConditionVariable
-
Opens the condition and releases all threads that are blocked.
- OpenException(IOException, DataSpec, int) - Constructor for exception com.google.android.exoplayer2.ext.cronet.CronetDataSource.OpenException
-
- OpenException(String, DataSpec, int) - Constructor for exception com.google.android.exoplayer2.ext.cronet.CronetDataSource.OpenException
-
- openRead() - Method in class com.google.android.exoplayer2.util.AtomicFile
-
Open the atomic file for reading.
- openSession() - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- openSession() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- openSession() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- OpusDecoderException - Exception in com.google.android.exoplayer2.ext.opus
-
Thrown when an Opus decoder error occurs.
- opusGetVersion() - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
-
- opusIsSecureDecodeSupported() - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
-
- OpusLibrary - Class in com.google.android.exoplayer2.ext.opus
-
Configures and queries the underlying native library.
- outOfNetworkIndicator - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
-
If true, the splice event is an opportunity to exit from the network feed.
- outOfNetworkIndicator - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
-
If true, the splice event is an opportunity to exit from the network feed.
- outputAudioFormat - Variable in class com.google.android.exoplayer2.audio.BaseAudioProcessor
-
The current output audio format.
- OutputBuffer - Class in com.google.android.exoplayer2.decoder
-
Output buffer decoded by a
Decoder.
- OutputBuffer() - Constructor for class com.google.android.exoplayer2.decoder.OutputBuffer
-
- overestimatedResult(long, long) - Static method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
-
- overridePreparePositionUs(long) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
Overrides the default prepare position at which to prepare the media period.
- owner - Variable in class com.google.android.exoplayer2.metadata.id3.PrivFrame
-
- packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
-
- packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Reader
-
- packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
-
- packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
-
- packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
-
- packetFinished() - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
-
Called when a packet ends.
- packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
-
- packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
-
- packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
-
- packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
-
- packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
-
- packetFinished() - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
-
- packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
-
- packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Reader
-
- packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
-
- packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
-
- packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
-
- packetStarted(long, int) - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
-
Called when a packet starts.
- packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
-
- packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
-
- packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
-
- packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
-
- packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
-
- packetStarted(long, int) - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
-
- ParametersBuilder() - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
- ParametersBuilder(Context) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Creates a builder with default initial values.
- parent - Variable in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
-
- ParsableBitArray - Class in com.google.android.exoplayer2.util
-
Wraps a byte array, providing methods that allow it to be read as a bitstream.
- ParsableBitArray() - Constructor for class com.google.android.exoplayer2.util.ParsableBitArray
-
Creates a new instance that initially has no backing data.
- ParsableBitArray(byte[]) - Constructor for class com.google.android.exoplayer2.util.ParsableBitArray
-
Creates a new instance that wraps an existing array.
- ParsableBitArray(byte[], int) - Constructor for class com.google.android.exoplayer2.util.ParsableBitArray
-
Creates a new instance that wraps an existing array.
- ParsableByteArray - Class in com.google.android.exoplayer2.util
-
Wraps a byte array, providing a set of methods for parsing data from it.
- ParsableByteArray() - Constructor for class com.google.android.exoplayer2.util.ParsableByteArray
-
Creates a new instance that initially has no backing data.
- ParsableByteArray(int) - Constructor for class com.google.android.exoplayer2.util.ParsableByteArray
-
Creates a new instance with limit bytes and sets the limit.
- ParsableByteArray(byte[]) - Constructor for class com.google.android.exoplayer2.util.ParsableByteArray
-
Creates a new instance wrapping data, and sets the limit to data.length.
- ParsableByteArray(byte[], int) - Constructor for class com.google.android.exoplayer2.util.ParsableByteArray
-
Creates a new instance that wraps an existing array.
- ParsableNalUnitBitArray - Class in com.google.android.exoplayer2.util
-
Wraps a byte array, providing methods that allow it to be read as a NAL unit bitstream.
- ParsableNalUnitBitArray(byte[], int, int) - Constructor for class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
- parse(Map<String, List<String>>) - Static method in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
-
- parse(Uri, InputStream) - Method in class com.google.android.exoplayer2.offline.FilteringManifestParser
-
- parse(Uri, InputStream) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parse(Uri, InputStream) - Method in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistParser
-
- parse(Uri, InputStream) - Method in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser
-
- parse(Uri, InputStream) - Method in interface com.google.android.exoplayer2.upstream.ParsingLoadable.Parser
-
Parses an object from a response.
- parse(ParsableByteArray) - Static method in class com.google.android.exoplayer2.video.AvcConfig
-
Parses AVC configuration data.
- parse(ParsableByteArray) - Static method in class com.google.android.exoplayer2.video.DolbyVisionConfig
-
Parses Dolby Vision configuration data.
- parse(ParsableByteArray) - Static method in class com.google.android.exoplayer2.video.HevcConfig
-
Parses HEVC configuration data.
- parseAacAudioSpecificConfig(byte[]) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
-
Parses an AAC AudioSpecificConfig, as defined in ISO 14496-3 1.6.2.1
- parseAacAudioSpecificConfig(ParsableBitArray, boolean) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
-
Parses an AAC AudioSpecificConfig, as defined in ISO 14496-3 1.6.2.1
- parseAc3AnnexFFormat(ParsableByteArray, String, String, DrmInitData) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
-
Returns the AC-3 format given data containing the AC3SpecificBox according to Annex F.
- parseAc3SyncframeAudioSampleCount(ByteBuffer) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
-
Reads the number of audio samples represented by the given (E-)AC-3 syncframe.
- parseAc3SyncframeInfo(ParsableBitArray) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
-
Returns (E-)AC-3 format information given data containing a syncframe.
- parseAc3SyncframeSize(byte[]) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
-
Returns the size in bytes of the given (E-)AC-3 syncframe.
- parseAc4AnnexEFormat(ParsableByteArray, String, String, DrmInitData) - Static method in class com.google.android.exoplayer2.audio.Ac4Util
-
Returns the AC-4 format given data containing the AC4SpecificBox according to ETSI TS
103 190-1 Annex E.
- parseAc4SyncframeAudioSampleCount(ByteBuffer) - Static method in class com.google.android.exoplayer2.audio.Ac4Util
-
Reads the number of audio samples represented by the given AC-4 syncframe.
- parseAc4SyncframeInfo(ParsableBitArray) - Static method in class com.google.android.exoplayer2.audio.Ac4Util
-
Returns AC-4 format information given data containing a syncframe.
- parseAc4SyncframeSize(byte[], int) - Static method in class com.google.android.exoplayer2.audio.Ac4Util
-
Returns the size in bytes of the given AC-4 syncframe.
- parseAdaptationSet(XmlPullParser, String, SegmentBase, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseAdaptationSetChild(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
Parses children of AdaptationSet elements not specifically parsed elsewhere.
- parseAlacAudioSpecificConfig(byte[]) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
-
Parses an ALAC AudioSpecificConfig (i.e.
- parseAudioChannelConfiguration(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseBaseUrl(XmlPullParser, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
Parses a BaseURL element.
- parseCea608AccessibilityChannel(List<Descriptor>) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseCea708AccessibilityChannel(List<Descriptor>) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseContentProtection(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
Parses a ContentProtection element.
- parseContentType(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseCssColor(String) - Static method in class com.google.android.exoplayer2.util.ColorParser
-
Parses a CSS color expression.
- parseCue(ParsableByteArray, WebvttCue.Builder, List<WebvttCssStyle>) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCueParser
-
Parses the next valid WebVTT cue in a parsable array, including timestamps, settings and text.
- parseDashRoleSchemeValue(String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseDateTime(XmlPullParser, String, long) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseDescriptor(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseDolbyChannelConfiguration(XmlPullParser) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
Parses the number of channels from the value attribute of an AudioElementConfiguration with
schemeIdUri "tag:dolby.com,2014:dash:audio_channel_configuration:2011", as defined by table E.5
in ETSI TS 102 366, or the legacy schemeIdUri
"urn:dolby:dash:audio_channel_configuration:2011".
- parseDtsAudioSampleCount(byte[]) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
-
Returns the number of audio samples represented by the given DTS frame.
- parseDtsAudioSampleCount(ByteBuffer) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
-
- parseDtsFormat(byte[], String, String, DrmInitData) - Static method in class com.google.android.exoplayer2.audio.DtsUtil
-
Returns the DTS format given data containing the DTS frame according to ETSI TS 102 114
subsections 5.3/5.4.
- parseDuration(XmlPullParser, String, long) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseEAc3AnnexFFormat(ParsableByteArray, String, String, DrmInitData) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
-
Returns the E-AC-3 format given data containing the EC3SpecificBox according to Annex
F.
- parseEac3SupplementalProperties(List<Descriptor>) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseEvent(XmlPullParser, String, String, long, ByteArrayOutputStream) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
Parses a single Event node in the manifest.
- parseEventObject(XmlPullParser, ByteArrayOutputStream) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
Parses an event object.
- parseEventStream(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
/**
Parses a single EventStream node in the manifest.
- parseFrameRate(XmlPullParser, float) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseInitialization(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseInt(XmlPullParser, String, int) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseLabel(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
Parses a Label element.
- parseLastSegmentNumberSupplementalProperty(List<Descriptor>) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseLong(XmlPullParser, String, long) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseMediaPresentationDescription(XmlPullParser, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parsePercentage(String) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
-
Parses a percentage string.
- parsePeriod(XmlPullParser, String, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parsePpsNalUnit(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
-
Parses a PPS NAL unit using the syntax defined in ITU-T Recommendation H.264 (2013) subsection
7.3.2.2.
- parseProgramInformation(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseRangedUrl(XmlPullParser, String, String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseRepresentation(XmlPullParser, String, String, String, int, int, float, int, int, String, List<Descriptor>, List<Descriptor>, List<Descriptor>, SegmentBase, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- ParserException - Exception in com.google.android.exoplayer2
-
Thrown when an error occurs parsing media data and metadata.
- ParserException() - Constructor for exception com.google.android.exoplayer2.ParserException
-
- ParserException(String) - Constructor for exception com.google.android.exoplayer2.ParserException
-
- ParserException(Throwable) - Constructor for exception com.google.android.exoplayer2.ParserException
-
- ParserException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.ParserException
-
- parseRoleFlagsFromAccessibilityDescriptors(List<Descriptor>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseRoleFlagsFromRoleDescriptors(List<Descriptor>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseSchemeSpecificData(byte[], UUID) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
-
Parses the scheme specific data from a PSSH atom.
- parseSegmentBase(XmlPullParser, SegmentBase.SingleSegmentBase) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseSegmentList(XmlPullParser, SegmentBase.SegmentList, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseSegmentTemplate(XmlPullParser, SegmentBase.SegmentTemplate, List<Descriptor>, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseSegmentTimeline(XmlPullParser, long, long) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseSegmentUrl(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseSelectionFlagsFromRoleDescriptors(List<Descriptor>) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseSpsNalUnit(byte[], int, int) - Static method in class com.google.android.exoplayer2.util.NalUnitUtil
-
Parses an SPS NAL unit using the syntax defined in ITU-T Recommendation H.264 (2013) subsection
7.3.2.1.1.
- parseString(XmlPullParser, String, String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseText(XmlPullParser, String) - Static method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseTimestampUs(String) - Static method in class com.google.android.exoplayer2.text.webvtt.WebvttParserUtil
-
Parses a WebVTT timestamp.
- parseTrueHdSyncframeAudioSampleCount(byte[]) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
-
Returns the number of audio samples represented by the given TrueHD syncframe, or 0 if the
buffer is not the start of a syncframe.
- parseTrueHdSyncframeAudioSampleCount(ByteBuffer, int) - Static method in class com.google.android.exoplayer2.audio.Ac3Util
-
Reads the number of audio samples represented by a TrueHD syncframe.
- parseTtmlColor(String) - Static method in class com.google.android.exoplayer2.util.ColorParser
-
Parses a TTML color expression.
- parseTvaAudioPurposeCsValue(String) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseUrlTemplate(XmlPullParser, String, UrlTemplate) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseUtcTiming(XmlPullParser) - Method in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser
-
- parseUuid(byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
-
Parses the UUID from a PSSH atom.
- parseVersion(byte[]) - Static method in class com.google.android.exoplayer2.extractor.mp4.PsshAtomUtil
-
Parses the version from a PSSH atom.
- parseXsDateTime(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Parses an xs:dateTime attribute value, returning the parsed timestamp in milliseconds since
the epoch.
- parseXsDuration(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Parses an xs:duration attribute value, returning the parsed duration in milliseconds.
- ParsingLoadable<T> - Class in com.google.android.exoplayer2.upstream
-
- ParsingLoadable(DataSource, Uri, int, ParsingLoadable.Parser<? extends T>) - Constructor for class com.google.android.exoplayer2.upstream.ParsingLoadable
-
- ParsingLoadable(DataSource, DataSpec, int, ParsingLoadable.Parser<? extends T>) - Constructor for class com.google.android.exoplayer2.upstream.ParsingLoadable
-
- ParsingLoadable.Parser<T> - Interface in com.google.android.exoplayer2.upstream
-
Parses an object from loaded data.
- passthrough - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Whether this instance describes a passthrough codec.
- pause() - Method in interface com.google.android.exoplayer2.audio.AudioSink
-
Pauses playback.
- pause() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
- pause() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
-
- pause() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
-
- pause() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a pause action.
- pauseAd() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- pauseDownloads() - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Pauses downloads.
- pcmEncoding - Variable in class com.google.android.exoplayer2.Format
-
- peek(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- peek(byte[], int, int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Peeks up to length bytes from the peek position.
- peek(byte[], int, int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
- peekChar() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Peeks at the next char.
- peekFully(byte[], int, int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- peekFully(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- peekFully(byte[], int, int, boolean) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
- peekFully(byte[], int, int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
- peekFully(byte[], int, int, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
- peekFully(byte[], int, int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
- peekId3Data(ExtractorInput, Id3Decoder.FramePredicate) - Method in class com.google.android.exoplayer2.extractor.Id3Peeker
-
Peeks ID3 data from the input and parses the first ID3 tag.
- peekId3Metadata(ExtractorInput, boolean) - Static method in class com.google.android.exoplayer2.extractor.FlacMetadataReader
-
Peeks ID3 Data.
- peekSourceId() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Peeks the source id of the next sample to be read, or the current upstream source id if the
queue is empty or if the read position is at the end of the queue.
- peekUnsignedByte() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Peeks at the next byte as an unsigned value.
- PERCENTAGE_UNSET - Static variable in class com.google.android.exoplayer2.C
-
Represents an unset or unknown percentage.
- percentDownloaded - Variable in class com.google.android.exoplayer2.offline.DownloadProgress
-
- performAccessibilityAction(int, Bundle) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- performClick() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- Period - Class in com.google.android.exoplayer2.source.dash.manifest
-
Encapsulates media content components over a contiguous period of time.
- Period(String, long, List<AdaptationSet>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Period
-
- Period(String, long, List<AdaptationSet>, List<EventStream>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Period
-
- Period(String, long, List<AdaptationSet>, List<EventStream>, Descriptor) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Period
-
- Period() - Constructor for class com.google.android.exoplayer2.Timeline.Period
-
Creates a new instance with no ad playback state.
- periodCount - Variable in class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
-
- periodIndex - Variable in class com.google.android.exoplayer2.offline.StreamKey
-
The period index.
- periodUid - Variable in class com.google.android.exoplayer2.source.MediaSource.MediaPeriodId
-
The unique id of the timeline period.
- perSampleIvSize - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
-
The initialization vector size in bytes for the samples in the corresponding sample group.
- PesReader - Class in com.google.android.exoplayer2.extractor.ts
-
Parses PES packet data and extracts samples.
- PesReader(ElementaryStreamReader) - Constructor for class com.google.android.exoplayer2.extractor.ts.PesReader
-
- PgsDecoder - Class in com.google.android.exoplayer2.text.pgs
-
- PgsDecoder() - Constructor for class com.google.android.exoplayer2.text.pgs.PgsDecoder
-
- picOrderCntLsbLength - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- picOrderCountType - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- picParameterSetId - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.PpsData
-
- pictureData - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
-
The encoded picture data.
- pictureData - Variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
-
- PictureFrame - Class in com.google.android.exoplayer2.metadata.flac
-
A picture parsed from a FLAC file.
- PictureFrame(int, String, String, int, int, int, int, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.flac.PictureFrame
-
- pictureType - Variable in class com.google.android.exoplayer2.metadata.flac.PictureFrame
-
The type of the picture.
- pictureType - Variable in class com.google.android.exoplayer2.metadata.id3.ApicFrame
-
- pitch - Variable in class com.google.android.exoplayer2.PlaybackParameters
-
The factor by which the audio pitch will be scaled.
- pixelWidthAspectRatio - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- pixelWidthAspectRatio - Variable in class com.google.android.exoplayer2.video.AvcConfig
-
- pixelWidthHeightRatio - Variable in class com.google.android.exoplayer2.Format
-
The width to height ratio of pixels in the video, or 1.0 if unknown or not applicable.
- PlatformScheduler - Class in com.google.android.exoplayer2.scheduler
-
- PlatformScheduler(Context, int) - Constructor for class com.google.android.exoplayer2.scheduler.PlatformScheduler
-
- PlatformScheduler.PlatformSchedulerService - Class in com.google.android.exoplayer2.scheduler
-
A
JobService that starts the target service if the requirements are met.
- PlatformSchedulerService() - Constructor for class com.google.android.exoplayer2.scheduler.PlatformScheduler.PlatformSchedulerService
-
- play() - Method in interface com.google.android.exoplayer2.audio.AudioSink
-
Starts or resumes consuming audio if initialized.
- play() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
- play() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
-
- play() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
-
- play() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a play action.
- playAd() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- PLAYBACK_STATE_ABANDONED - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Playback is abandoned before reaching the end of the media.
- PLAYBACK_STATE_BUFFERING - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Playback is buffering to resume active playback.
- PLAYBACK_STATE_ENDED - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Playback has reached the end of the media.
- PLAYBACK_STATE_FAILED - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Playback is stopped due a fatal error and can be retried.
- PLAYBACK_STATE_INTERRUPTED_BY_AD - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Playback is interrupted by an ad.
- PLAYBACK_STATE_JOINING_BACKGROUND - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Playback is buffering in the background for initial playback start.
- PLAYBACK_STATE_JOINING_FOREGROUND - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Playback is buffering in the foreground for initial playback start.
- PLAYBACK_STATE_NOT_STARTED - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Playback has not started (initial state).
- PLAYBACK_STATE_PAUSED - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Playback is paused but ready to play.
- PLAYBACK_STATE_PAUSED_BUFFERING - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Playback is buffering while paused.
- PLAYBACK_STATE_PLAYING - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Playback is actively playing.
- PLAYBACK_STATE_SEEK_BUFFERING - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Playback is buffering after a seek.
- PLAYBACK_STATE_SEEKING - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Playback is handling a seek.
- PLAYBACK_STATE_STOPPED - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Playback is stopped and can be restarted.
- PLAYBACK_STATE_SUPPRESSED - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Playback is suppressed (e.g.
- PLAYBACK_STATE_SUPPRESSED_BUFFERING - Static variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
Playback is suppressed (e.g.
- PLAYBACK_SUPPRESSION_REASON_NONE - Static variable in interface com.google.android.exoplayer2.Player
-
Playback is not suppressed.
- PLAYBACK_SUPPRESSION_REASON_TRANSIENT_AUDIO_FOCUS_LOSS - Static variable in interface com.google.android.exoplayer2.Player
-
Playback is suppressed due to transient audio focus loss.
- PlaybackControlView - Class in com.google.android.exoplayer2.ui
-
- PlaybackControlView(Context) - Constructor for class com.google.android.exoplayer2.ui.PlaybackControlView
-
Deprecated.
- PlaybackControlView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.PlaybackControlView
-
Deprecated.
- PlaybackControlView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.PlaybackControlView
-
Deprecated.
- PlaybackControlView(Context, AttributeSet, int, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.PlaybackControlView
-
Deprecated.
- PlaybackControlView.ControlDispatcher - Interface in com.google.android.exoplayer2.ui
-
- playbackCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The number of individual playbacks for which these stats were collected.
- PlaybackParameters - Class in com.google.android.exoplayer2
-
The parameters that apply to playback.
- PlaybackParameters(float) - Constructor for class com.google.android.exoplayer2.PlaybackParameters
-
Creates new playback parameters that set the playback speed.
- PlaybackParameters(float, float) - Constructor for class com.google.android.exoplayer2.PlaybackParameters
-
Creates new playback parameters that set the playback speed and audio pitch scaling factor.
- PlaybackParameters(float, float, boolean) - Constructor for class com.google.android.exoplayer2.PlaybackParameters
-
Creates new playback parameters that set the playback speed, audio pitch scaling factor and
whether to skip silence in the audio stream.
- playbackPositionUs - Variable in class com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand
-
- PlaybackPreparer - Interface in com.google.android.exoplayer2
-
Called to prepare a playback.
- PlaybackSessionManager - Interface in com.google.android.exoplayer2.analytics
-
Manager for active playback sessions.
- PlaybackSessionManager.Listener - Interface in com.google.android.exoplayer2.analytics
-
A listener for session updates.
- playbackStateHistory - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
- PlaybackStats - Class in com.google.android.exoplayer2.analytics
-
Statistics about playbacks.
- PlaybackStatsListener - Class in com.google.android.exoplayer2.analytics
-
- PlaybackStatsListener(boolean, PlaybackStatsListener.Callback) - Constructor for class com.google.android.exoplayer2.analytics.PlaybackStatsListener
-
Creates listener for playback stats.
- PlaybackStatsListener.Callback - Interface in com.google.android.exoplayer2.analytics
-
- playClearSamplesWithoutKeys() - Method in interface com.google.android.exoplayer2.drm.DrmSession
-
Returns whether this session allows playback of clear samples prior to keys being loaded.
- playClearSamplesWithoutKeys() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
-
- Player - Interface in com.google.android.exoplayer2
-
A media player interface defining traditional high-level functionality, such as the ability to
play, pause, seek and query properties of the currently playing media.
- Player.AudioComponent - Interface in com.google.android.exoplayer2
-
The audio component of a
Player.
- Player.DefaultEventListener - Class in com.google.android.exoplayer2
-
- Player.DiscontinuityReason - Annotation Type in com.google.android.exoplayer2
-
Reasons for position discontinuities.
- Player.EventListener - Interface in com.google.android.exoplayer2
-
Listener of changes in player state.
- Player.MetadataComponent - Interface in com.google.android.exoplayer2
-
The metadata component of a
Player.
- Player.PlaybackSuppressionReason - Annotation Type in com.google.android.exoplayer2
-
- Player.RepeatMode - Annotation Type in com.google.android.exoplayer2
-
Repeat modes for playback.
- Player.State - Annotation Type in com.google.android.exoplayer2
-
Playback state.
- Player.TextComponent - Interface in com.google.android.exoplayer2
-
The text component of a
Player.
- Player.TimelineChangeReason - Annotation Type in com.google.android.exoplayer2
-
Reasons for timeline changes.
- Player.VideoComponent - Interface in com.google.android.exoplayer2
-
The video component of a
Player.
- PlayerControlView - Class in com.google.android.exoplayer2.ui
-
A view for controlling
Player instances.
- PlayerControlView(Context) - Constructor for class com.google.android.exoplayer2.ui.PlayerControlView
-
- PlayerControlView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.PlayerControlView
-
- PlayerControlView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.PlayerControlView
-
- PlayerControlView(Context, AttributeSet, int, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.PlayerControlView
-
- PlayerControlView.ProgressUpdateListener - Interface in com.google.android.exoplayer2.ui
-
Listener to be notified when progress has been updated.
- PlayerControlView.VisibilityListener - Interface in com.google.android.exoplayer2.ui
-
Listener to be notified about changes of the visibility of the UI control.
- PlayerEmsgHandler - Class in com.google.android.exoplayer2.source.dash
-
Handles all emsg messages from all media tracks for the player.
- PlayerEmsgHandler(DashManifest, PlayerEmsgHandler.PlayerEmsgCallback, Allocator) - Constructor for class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler
-
- PlayerEmsgHandler.PlayerEmsgCallback - Interface in com.google.android.exoplayer2.source.dash
-
Callbacks for player emsg events encountered during DASH live stream.
- PlayerEmsgHandler.PlayerTrackEmsgHandler - Class in com.google.android.exoplayer2.source.dash
-
Handles emsg messages for a specific track for the player.
- PlayerMessage - Class in com.google.android.exoplayer2
-
- PlayerMessage(PlayerMessage.Sender, PlayerMessage.Target, Timeline, int, Handler) - Constructor for class com.google.android.exoplayer2.PlayerMessage
-
Creates a new message.
- PlayerMessage.Sender - Interface in com.google.android.exoplayer2
-
A sender for messages.
- PlayerMessage.Target - Interface in com.google.android.exoplayer2
-
A target for messages.
- PlayerNotificationManager - Class in com.google.android.exoplayer2.ui
-
Starts, updates and cancels a media style notification reflecting the player state.
- PlayerNotificationManager(Context, String, int, PlayerNotificationManager.MediaDescriptionAdapter) - Constructor for class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Creates a notification manager using the specified notification channelId.
- PlayerNotificationManager(Context, String, int, PlayerNotificationManager.MediaDescriptionAdapter, PlayerNotificationManager.NotificationListener) - Constructor for class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
- PlayerNotificationManager(Context, String, int, PlayerNotificationManager.MediaDescriptionAdapter, PlayerNotificationManager.CustomActionReceiver) - Constructor for class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
- PlayerNotificationManager(Context, String, int, PlayerNotificationManager.MediaDescriptionAdapter, PlayerNotificationManager.NotificationListener, PlayerNotificationManager.CustomActionReceiver) - Constructor for class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
- PlayerNotificationManager.BitmapCallback - Class in com.google.android.exoplayer2.ui
-
- PlayerNotificationManager.CustomActionReceiver - Interface in com.google.android.exoplayer2.ui
-
Defines and handles custom actions.
- PlayerNotificationManager.MediaDescriptionAdapter - Interface in com.google.android.exoplayer2.ui
-
An adapter to provide content assets of the media currently playing.
- PlayerNotificationManager.NotificationListener - Interface in com.google.android.exoplayer2.ui
-
A listener for changes to the notification.
- PlayerNotificationManager.Priority - Annotation Type in com.google.android.exoplayer2.ui
-
Priority of the notification (required for API 25 and lower).
- PlayerNotificationManager.Visibility - Annotation Type in com.google.android.exoplayer2.ui
-
Visibility of notification on the lock screen.
- PlayerRunnable() - Constructor for class com.google.android.exoplayer2.testutil.ActionSchedule.PlayerRunnable
-
- PlayerTarget() - Constructor for class com.google.android.exoplayer2.testutil.ActionSchedule.PlayerTarget
-
- PlayerView - Class in com.google.android.exoplayer2.ui
-
A high level view for
Player media playbacks.
- PlayerView(Context) - Constructor for class com.google.android.exoplayer2.ui.PlayerView
-
- PlayerView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.PlayerView
-
- PlayerView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.PlayerView
-
- PlayerView.ShowBuffering - Annotation Type in com.google.android.exoplayer2.ui
-
Determines when the buffering view is shown.
- PLAYLIST_TYPE_EVENT - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
- PLAYLIST_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
- PLAYLIST_TYPE_VOD - Static variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
- PlaylistResetException(Uri) - Constructor for exception com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistResetException
-
Creates an instance.
- PlaylistStuckException(Uri) - Constructor for exception com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker.PlaylistStuckException
-
Creates an instance.
- playlistType - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
The type of the playlist.
- PLAYREADY_CUSTOM_DATA_KEY - Static variable in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
- PLAYREADY_UUID - Static variable in class com.google.android.exoplayer2.C
-
UUID for the PlayReady DRM scheme.
- playToEndOfStream() - Method in interface com.google.android.exoplayer2.audio.AudioSink
-
Processes any remaining data.
- playToEndOfStream() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
- playToEndOfStream() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
-
- PlayUntilPosition(String, int, long) - Constructor for class com.google.android.exoplayer2.testutil.Action.PlayUntilPosition
-
- playUntilPosition(int, long) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a play action, waits until the player reaches the specified position, and pauses
the player again.
- playUntilStartOfWindow(int) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a play action, waits until the player reaches the start of the specified window,
and pauses the player again.
- pointOffsets - Variable in class com.google.android.exoplayer2.util.FlacStreamMetadata.SeekTable
-
Seek points byte offsets from the first frame.
- pointSampleNumbers - Variable in class com.google.android.exoplayer2.util.FlacStreamMetadata.SeekTable
-
Seek points sample numbers.
- poll(long) - Method in class com.google.android.exoplayer2.util.TimedValueQueue
-
Returns the value with the closest timestamp to the given timestamp.
- pollFloor(long) - Method in class com.google.android.exoplayer2.util.TimedValueQueue
-
Returns the value with the greatest timestamp which is less than or equal to the given
timestamp.
- pollRotationMatrix(float[], long) - Method in class com.google.android.exoplayer2.video.spherical.FrameRotationQueue
-
Copies the rotation matrix with the greatest timestamp which is less than or equal to the given
timestamp to matrix.
- pollStateChange(String, long) - Method in class com.google.android.exoplayer2.testutil.TestDownloadManagerListener
-
- populateHeader(int, MpegAudioHeader) - Static method in class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
Parses headerData, populating header with the parsed data.
- position - Variable in class com.google.android.exoplayer2.extractor.PositionHolder
-
The held position.
- position - Variable in class com.google.android.exoplayer2.extractor.SeekPoint
-
The byte offset of the seek point.
- position - Variable in class com.google.android.exoplayer2.text.Cue
-
- position - Variable in class com.google.android.exoplayer2.upstream.cache.CacheSpan
-
The position of the
CacheSpan in the original stream.
- position - Variable in class com.google.android.exoplayer2.upstream.DataSpec
-
- POSITION_COORDS_PER_VERTEX - Static variable in class com.google.android.exoplayer2.video.spherical.Projection
-
Number of texture coordinates per vertex.
- POSITION_OUT_OF_RANGE - Static variable in exception com.google.android.exoplayer2.upstream.DataSourceException
-
- POSITION_UNSET - Static variable in class com.google.android.exoplayer2.C
-
Represents an unset or unknown position.
- positionAnchor - Variable in class com.google.android.exoplayer2.text.Cue
-
- PositionHolder - Class in com.google.android.exoplayer2.extractor
-
Holds a position in the stream.
- PositionHolder() - Constructor for class com.google.android.exoplayer2.extractor.PositionHolder
-
- positionInFirstPeriodUs - Variable in class com.google.android.exoplayer2.Timeline.Window
-
The position of the start of this window relative to the start of the first period belonging
to it, in microseconds.
- positionMs - Variable in exception com.google.android.exoplayer2.IllegalSeekPositionException
-
The seek position in the specified window.
- positionResetCount - Variable in class com.google.android.exoplayer2.testutil.FakeRenderer
-
- post(Runnable) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
-
- postDelayed(Runnable, long) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
-
- PpsData(int, int, boolean) - Constructor for class com.google.android.exoplayer2.util.NalUnitUtil.PpsData
-
- Predicate<T> - Interface in com.google.android.exoplayer2.util
-
Determines a true or false value for a given input.
- preferredAudioLanguage - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
-
The preferred language for audio and forced text tracks as an IETF BCP 47 conformant tag.
- preferredTextLanguage - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
-
The preferred language for text tracks as an IETF BCP 47 conformant tag.
- preferredTextRoleFlags - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
-
The preferred C.RoleFlags for text tracks.
- prepare() - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
- prepare() - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager
-
Acquires any required resources.
- prepare(MediaSource) - Method in interface com.google.android.exoplayer2.ExoPlayer
-
- prepare(MediaSource, boolean, boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Prepares the player to play the provided
MediaSource, optionally resetting the playback
position the default position in the first
Timeline.Window.
- prepare(DownloadHelper.Callback) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
-
Initializes the helper for starting a download.
- prepare(MediaSource) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- prepare(MediaSource, boolean, boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- prepare(MediaPeriod.Callback, long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
- prepare(MediaPeriod.Callback, long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- prepare(MediaPeriod.Callback, long) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- prepare(MediaPeriod.Callback, long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Prepares this media period asynchronously.
- prepare(MediaPeriod.Callback, long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
-
- prepare(MediaPeriod.Callback, long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- prepare(MediaSource) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- prepare(MediaSource, boolean, boolean) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- prepareChildSource(T, MediaSource) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
-
Prepares a child source.
- preparePeriod(MediaPeriod, long) - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
-
- preparePlayback() - Method in interface com.google.android.exoplayer2.PlaybackPreparer
-
Called to prepare a playback.
- prepareSource(MediaSource.MediaSourceCaller, TransferListener) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
-
- prepareSource(MediaSource.MediaSourceCaller, TransferListener) - Method in interface com.google.android.exoplayer2.source.MediaSource
-
- PrepareSource(String, MediaSource) - Constructor for class com.google.android.exoplayer2.testutil.Action.PrepareSource
-
- PrepareSource(String, MediaSource, boolean, boolean) - Constructor for class com.google.android.exoplayer2.testutil.Action.PrepareSource
-
- prepareSource(MediaSource) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a new source preparation action.
- prepareSource(MediaSource, boolean, boolean) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a new source preparation action.
- prepareSource() - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
-
Prepares the source on the playback thread, asserting that it provides an initial timeline.
- prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
-
- prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
-
- prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
-
- prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
-
- prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
-
Deprecated.
- prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
-
- prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
-
- prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
-
- prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
-
- prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
-
- prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.SilenceMediaSource
-
- prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- prepareSourceInternal(TransferListener) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
-
- preRelease() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
- presentationStartTimeMs - Variable in class com.google.android.exoplayer2.Timeline.Window
-
The start time of the presentation to which this window belongs in milliseconds since the
epoch, or
C.TIME_UNSET if unknown or not applicable.
- presentationTimeOffsetUs - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
The offset of the presentation timestamps in the media stream relative to media time.
- presentationTimesUs - Variable in class com.google.android.exoplayer2.source.dash.manifest.EventStream
-
Presentation time of the events in microsecond, sorted in ascending order.
- previous() - Method in class com.google.android.exoplayer2.BasePlayer
-
- previous() - Method in interface com.google.android.exoplayer2.Player
-
Seeks to the default position of the previous window in the timeline, which may depend on the
current repeat mode and whether shuffle mode is enabled.
- PREVIOUS_SYNC - Static variable in class com.google.android.exoplayer2.SeekParameters
-
Parameters for seeking to the sync point immediately before a requested seek position.
- primaryTrackType - Variable in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- PRIORITY_DOWNLOAD - Static variable in class com.google.android.exoplayer2.C
-
Priority for media downloading.
- PRIORITY_PLAYBACK - Static variable in class com.google.android.exoplayer2.C
-
Priority for media playback.
- PriorityDataSource - Class in com.google.android.exoplayer2.upstream
-
- PriorityDataSource(DataSource, PriorityTaskManager, int) - Constructor for class com.google.android.exoplayer2.upstream.PriorityDataSource
-
- PriorityDataSourceFactory - Class in com.google.android.exoplayer2.upstream
-
- PriorityDataSourceFactory(DataSource.Factory, PriorityTaskManager, int) - Constructor for class com.google.android.exoplayer2.upstream.PriorityDataSourceFactory
-
- PriorityTaskManager - Class in com.google.android.exoplayer2.util
-
Allows tasks with associated priorities to control how they proceed relative to one another.
- PriorityTaskManager() - Constructor for class com.google.android.exoplayer2.util.PriorityTaskManager
-
- PriorityTaskManager.PriorityTooLowException - Exception in com.google.android.exoplayer2.util
-
Thrown when task attempts to proceed when another registered task has a higher priority.
- PriorityTooLowException(int, int) - Constructor for exception com.google.android.exoplayer2.util.PriorityTaskManager.PriorityTooLowException
-
- PRIVATE_STREAM_1 - Static variable in class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- PrivateCommand - Class in com.google.android.exoplayer2.metadata.scte35
-
Represents a private command as defined in SCTE35, Section 9.3.6.
- privateData - Variable in class com.google.android.exoplayer2.metadata.id3.PrivFrame
-
- PrivFrame - Class in com.google.android.exoplayer2.metadata.id3
-
PRIV (Private) ID3 frame.
- PrivFrame(String, byte[]) - Constructor for class com.google.android.exoplayer2.metadata.id3.PrivFrame
-
- proceed(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
-
Blocks until the task is allowed to proceed.
- proceedNonBlocking(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
-
- proceedOrThrow(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
-
- processOutputBuffer(long, long, MediaCodec, ByteBuffer, int, int, long, boolean, boolean, Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- processOutputBuffer(long, long, MediaCodec, ByteBuffer, int, int, long, boolean, boolean, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Processes an output media buffer.
- processOutputBuffer(long, long, MediaCodec, ByteBuffer, int, int, long, boolean, boolean, Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- profile - Variable in class com.google.android.exoplayer2.video.DolbyVisionConfig
-
The profile number.
- profileIdc - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- programInformation - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
- ProgramInformation - Class in com.google.android.exoplayer2.source.dash.manifest
-
A parsed program information element.
- ProgramInformation(String, String, String, String, String) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.ProgramInformation
-
- programSpliceFlag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
-
Whether the splice mode is program splice mode, whereby all PIDs/components are to be spliced.
- programSpliceFlag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
-
Whether the splice mode is program splice mode, whereby all PIDs/components are to be
spliced.
- programSplicePlaybackPositionUs - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
-
- programSplicePts - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
-
- ProgressiveDownloader - Class in com.google.android.exoplayer2.offline
-
A downloader for progressive media streams.
- ProgressiveDownloader(Uri, String, DownloaderConstructorHelper) - Constructor for class com.google.android.exoplayer2.offline.ProgressiveDownloader
-
- ProgressiveMediaSource - Class in com.google.android.exoplayer2.source
-
Provides one period that loads data from a
Uri and extracted using an
Extractor.
- ProgressiveMediaSource.Factory - Class in com.google.android.exoplayer2.source
-
- Projection - Class in com.google.android.exoplayer2.video.spherical
-
The projection mesh used with 360/VR videos.
- Projection(Projection.Mesh, int) - Constructor for class com.google.android.exoplayer2.video.spherical.Projection
-
Creates a Projection with single mesh.
- Projection(Projection.Mesh, Projection.Mesh, int) - Constructor for class com.google.android.exoplayer2.video.spherical.Projection
-
Creates a Projection with dual mesh.
- Projection.DrawMode - Annotation Type in com.google.android.exoplayer2.video.spherical
-
Enforces allowed (sub) mesh draw modes.
- Projection.Mesh - Class in com.google.android.exoplayer2.video.spherical
-
A Mesh associated with the projection scene.
- Projection.SubMesh - Class in com.google.android.exoplayer2.video.spherical
-
- PROJECTION_CUBEMAP - Static variable in class com.google.android.exoplayer2.C
-
Cube map projection.
- PROJECTION_EQUIRECTANGULAR - Static variable in class com.google.android.exoplayer2.C
-
Equirectangular spherical projection.
- PROJECTION_MESH - Static variable in class com.google.android.exoplayer2.C
-
3-D mesh projection.
- PROJECTION_RECTANGULAR - Static variable in class com.google.android.exoplayer2.C
-
Conventional rectangular projection.
- projectionData - Variable in class com.google.android.exoplayer2.Format
-
The projection data for 360/VR video, or null if not applicable.
- ProjectionDecoder - Class in com.google.android.exoplayer2.video.spherical
-
A decoder for the projection mesh.
- PROPERTY_LICENSE_DURATION_REMAINING - Static variable in class com.google.android.exoplayer2.drm.WidevineUtil
-
Widevine specific key status field name for the remaining license duration, in seconds.
- PROPERTY_PLAYBACK_DURATION_REMAINING - Static variable in class com.google.android.exoplayer2.drm.WidevineUtil
-
Widevine specific key status field name for the remaining playback duration, in seconds.
- protectionElement - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
Content protection information, or null if the content is not protected.
- ProtectionElement(UUID, byte[], TrackEncryptionBox[]) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.ProtectionElement
-
- protectionSchemes - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
Contains the CDM protection schemes used by segments in this playlist.
- provideKeyResponse(byte[], byte[]) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- provideKeyResponse(byte[], byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- provideKeyResponse(byte[], byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- provideProvisionResponse(byte[]) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- provideProvisionResponse(byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- provideProvisionResponse(byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- ProvisionRequest(byte[], String) - Constructor for class com.google.android.exoplayer2.drm.ExoMediaDrm.ProvisionRequest
-
- PsExtractor - Class in com.google.android.exoplayer2.extractor.ts
-
Extracts data from the MPEG-2 PS container format.
- PsExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- PsExtractor(TimestampAdjuster) - Constructor for class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- PsshAtomUtil - Class in com.google.android.exoplayer2.extractor.mp4
-
Utility methods for handling PSSH atoms.
- ptsAdjustment - Variable in class com.google.android.exoplayer2.metadata.scte35.PrivateCommand
-
The pts_adjustment as defined in SCTE35, Section 9.2.
- ptsTime - Variable in class com.google.android.exoplayer2.metadata.scte35.TimeSignalCommand
-
A PTS value, as defined in SCTE35, Section 9.3.4.
- ptsToUs(long) - Static method in class com.google.android.exoplayer2.util.TimestampAdjuster
-
Converts a 90 kHz clock timestamp to a timestamp in microseconds.
- publishTimeMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
The
publishTime value in milliseconds since epoch, or
C.TIME_UNSET if
not present.
- putDownload(Download) - Method in class com.google.android.exoplayer2.offline.DefaultDownloadIndex
-
- putDownload(Download) - Method in interface com.google.android.exoplayer2.offline.WritableDownloadIndex
-
- putInt(int, int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Overwrites numBits from this array using the numBits least significant bits
from value.
- RandomTrackSelection - Class in com.google.android.exoplayer2.trackselection
-
- RandomTrackSelection(TrackGroup, int...) - Constructor for class com.google.android.exoplayer2.trackselection.RandomTrackSelection
-
- RandomTrackSelection(TrackGroup, int[], long) - Constructor for class com.google.android.exoplayer2.trackselection.RandomTrackSelection
-
- RandomTrackSelection(TrackGroup, int[], Random) - Constructor for class com.google.android.exoplayer2.trackselection.RandomTrackSelection
-
- RandomTrackSelection.Factory - Class in com.google.android.exoplayer2.trackselection
-
- RangedUri - Class in com.google.android.exoplayer2.source.dash.manifest
-
Defines a range of data located at a reference uri.
- RangedUri(String, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.RangedUri
-
Constructs an ranged uri.
- RAW_RESOURCE_SCHEME - Static variable in class com.google.android.exoplayer2.upstream.RawResourceDataSource
-
The scheme part of a raw resource URI.
- RawCcExtractor - Class in com.google.android.exoplayer2.extractor.rawcc
-
Extracts data from the RawCC container format.
- RawCcExtractor(Format) - Constructor for class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
-
- rawMetadata - Variable in class com.google.android.exoplayer2.metadata.icy.IcyInfo
-
The complete metadata bytes used to construct this IcyInfo.
- RawResourceDataSource - Class in com.google.android.exoplayer2.upstream
-
A
DataSource for reading a raw resource inside the APK.
- RawResourceDataSource(Context) - Constructor for class com.google.android.exoplayer2.upstream.RawResourceDataSource
-
- RawResourceDataSource.RawResourceDataSourceException - Exception in com.google.android.exoplayer2.upstream
-
Thrown when an
IOException is encountered reading from a raw resource.
- RawResourceDataSourceException(String) - Constructor for exception com.google.android.exoplayer2.upstream.RawResourceDataSource.RawResourceDataSourceException
-
- RawResourceDataSourceException(IOException) - Constructor for exception com.google.android.exoplayer2.upstream.RawResourceDataSource.RawResourceDataSourceException
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
- read(ByteBuffer) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
Reads up to buffer.remaining() bytes of data and stores them into buffer,
starting at buffer.position().
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.ext.flac.FlacExtractor
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- read(ExtractorInput, PositionHolder) - Method in interface com.google.android.exoplayer2.extractor.Extractor
-
- read(byte[], int, int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Reads up to length bytes from the input and resets the peek position.
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.flac.FlacExtractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Extractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
-
- read(ExtractorInput, PositionHolder) - Method in class com.google.android.exoplayer2.source.hls.WebvttExtractor
-
- read(FormatHolder, DecoderInputBuffer, boolean, boolean, long) - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Attempts to read from the queue.
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.testutil.FakeDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.AssetDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.ByteArrayDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.cache.CacheDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.ContentDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.crypto.AesCipherDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
-
- read(byte[], int, int) - Method in interface com.google.android.exoplayer2.upstream.DataSource
-
Reads up to readLength bytes of data and stores them into buffer, starting at
index offset.
- read() - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
-
- read(byte[]) - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DataSourceInputStream
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DefaultDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.DummyDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.FileDataSource
-
- read(byte[], int, int) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.PriorityDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.RawResourceDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.ResolvingDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.TeeDataSource
-
- read(byte[], int, int) - Method in class com.google.android.exoplayer2.upstream.UdpDataSource
-
- readBit() - Method in class com.google.android.exoplayer2.extractor.VorbisBitArray
-
Reads a single bit.
- readBit() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Reads a single bit.
- readBit() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Reads a single bit.
- readBits(int) - Method in class com.google.android.exoplayer2.extractor.VorbisBitArray
-
Reads up to 32 bits.
- readBits(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Reads up to 32 bits.
- readBits(byte[], int, int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Reads numBits bits into buffer.
- readBits(int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Reads up to 32 bits.
- readBitsToLong(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Reads up to 64 bits.
- readBoolean(Parcel) - Static method in class com.google.android.exoplayer2.util.Util
-
Reads an integer from a
Parcel and interprets it as a boolean, with 0 mapping to false
and all other values mapping to true.
- readBytes(byte[], int, int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Reads the next length bytes into buffer.
- readBytes(ParsableBitArray, int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next length bytes into bitArray, and resets the position of
bitArray to zero.
- readBytes(byte[], int, int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next length bytes into buffer at offset.
- readBytes(ByteBuffer, int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next length bytes into buffer.
- readData(FormatHolder, DecoderInputBuffer, boolean) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
-
- readData(FormatHolder, DecoderInputBuffer, boolean) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- readData(FormatHolder, DecoderInputBuffer, boolean) - Method in class com.google.android.exoplayer2.source.EmptySampleStream
-
- readData(FormatHolder, DecoderInputBuffer, boolean) - Method in interface com.google.android.exoplayer2.source.SampleStream
-
Attempts to read from the stream.
- readData(FormatHolder, DecoderInputBuffer, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeSampleStream
-
- readDiscontinuity() - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
- readDiscontinuity() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- readDiscontinuity() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- readDiscontinuity() - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Attempts to read a discontinuity.
- readDiscontinuity() - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- readDouble() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next eight bytes as a 64-bit floating point value.
- readExactly(DataSource, int) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
-
- readFloat() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next four bytes as a 32-bit floating point value.
- readFrameBlockSizeSamplesFromKey(ParsableByteArray, int) - Static method in class com.google.android.exoplayer2.extractor.FlacFrameReader
-
Reads the given block size.
- readFully(byte[], int, int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- readFully(byte[], int, int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- readFully(byte[], int, int, boolean) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
- readFully(byte[], int, int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
- readFully(byte[], int, int, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
- readFully(byte[], int, int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
- readId3Metadata(ExtractorInput, boolean) - Static method in class com.google.android.exoplayer2.extractor.FlacMetadataReader
-
Reads ID3 Data.
- readingStarted() - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
-
Dispatches #onReadingStarted(int, MediaPeriodId).
- readInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next four bytes as a signed value
- readInt24() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next three bytes as a signed value.
- readLine() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads a line of text.
- readLittleEndianInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next four bytes as a signed value in little endian order.
- readLittleEndianInt24() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next three bytes as a signed value in little endian order.
- readLittleEndianLong() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next eight bytes as a signed value in little endian order.
- readLittleEndianShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next two bytes as a signed value.
- readLittleEndianUnsignedInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next four bytes as an unsigned value in little endian order.
- readLittleEndianUnsignedInt24() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next three bytes as an unsigned value in little endian order.
- readLittleEndianUnsignedIntToInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next four bytes as a little endian unsigned integer into an integer, if the top bit
is a zero.
- readLittleEndianUnsignedShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next two bytes as an unsigned value.
- readLong() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next eight bytes as a signed value.
- readMetadataBlock(ExtractorInput, FlacMetadataReader.FlacStreamMetadataHolder) - Static method in class com.google.android.exoplayer2.extractor.FlacMetadataReader
-
Reads one FLAC metadata block.
- readNullTerminatedString(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next length bytes as UTF-8 characters.
- readNullTerminatedString() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads up to the next NUL byte (or the limit) as UTF-8 characters.
- readPcrFromPacket(ParsableByteArray, int, int) - Static method in class com.google.android.exoplayer2.extractor.ts.TsUtil
-
Returns the PCR value read from a given TS packet.
- readSeekTableMetadataBlock(ParsableByteArray) - Static method in class com.google.android.exoplayer2.extractor.FlacMetadataReader
-
Reads a FLAC seek table metadata block.
- readShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next two bytes as a signed value.
- readSignedExpGolombCodedInt() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Reads an signed Exp-Golomb-coded format integer.
- readSource(FormatHolder, DecoderInputBuffer, boolean) - Method in class com.google.android.exoplayer2.BaseRenderer
-
Reads from the enabled upstream source.
- readStreamMarker(ExtractorInput) - Static method in class com.google.android.exoplayer2.extractor.FlacMetadataReader
-
Reads the FLAC stream marker.
- readString(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next length bytes as UTF-8 characters.
- readString(int, Charset) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next
length bytes as characters in the specified
Charset.
- readSynchSafeInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads a Synchsafe integer.
- readToEnd(DataSource) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
-
- readUnsignedByte() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next byte as an unsigned value.
- readUnsignedExpGolombCodedInt() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Reads an unsigned Exp-Golomb-coded format integer.
- readUnsignedFixedPoint1616() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next four bytes, returning the integer portion of the fixed point 16.16 integer.
- readUnsignedInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next four bytes as an unsigned value.
- readUnsignedInt24() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next three bytes as an unsigned value.
- readUnsignedIntToInt() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next four bytes as an unsigned integer into an integer, if the top bit is a zero.
- readUnsignedLongToLong() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next eight bytes as an unsigned long into a long, if the top bit is a zero.
- readUnsignedShort() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads the next two bytes as an unsigned value.
- readUtf8EncodedLong() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Reads a long value encoded by UTF-8 encoding
- readVorbisCommentHeader(ParsableByteArray) - Static method in class com.google.android.exoplayer2.extractor.VorbisUtil
-
Reads a Vorbis comment header.
- readVorbisCommentHeader(ParsableByteArray, boolean, boolean) - Static method in class com.google.android.exoplayer2.extractor.VorbisUtil
-
Reads a Vorbis comment header.
- readVorbisIdentificationHeader(ParsableByteArray) - Static method in class com.google.android.exoplayer2.extractor.VorbisUtil
-
Reads a Vorbis identification header from headerData.
- readVorbisModes(ParsableByteArray, int) - Static method in class com.google.android.exoplayer2.extractor.VorbisUtil
-
This method reads the modes which are located at the very end of the Vorbis setup header.
- realtimeMs - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
-
Elapsed real-time as returned by SystemClock.elapsedRealtime() at the time of the
event, in milliseconds.
- reason - Variable in exception com.google.android.exoplayer2.drm.UnsupportedDrmException
-
- reason - Variable in exception com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException
-
The reason clipping failed.
- reason - Variable in exception com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException
-
The reason the merge failed.
- reason - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
-
- reason - Variable in class com.google.android.exoplayer2.trackselection.TrackSelection.Definition
-
The track selection reason.
- reason - Variable in exception com.google.android.exoplayer2.upstream.DataSourceException
-
- REASON_INSTANTIATION_ERROR - Static variable in exception com.google.android.exoplayer2.drm.UnsupportedDrmException
-
There device advertises support for the requested DRM scheme, but there was an error
instantiating it.
- REASON_INVALID_PERIOD_COUNT - Static variable in exception com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException
-
The wrapped source doesn't consist of a single period.
- REASON_NOT_SEEKABLE_TO_START - Static variable in exception com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException
-
The wrapped source is not seekable and a non-zero clipping start position was specified.
- REASON_PERIOD_COUNT_MISMATCH - Static variable in exception com.google.android.exoplayer2.source.MergingMediaSource.IllegalMergeException
-
The sources have different period counts.
- REASON_START_EXCEEDS_END - Static variable in exception com.google.android.exoplayer2.source.ClippingMediaSource.IllegalClippingException
-
The wrapped source ends before the specified clipping start position.
- REASON_UNSUPPORTED_SCHEME - Static variable in exception com.google.android.exoplayer2.drm.UnsupportedDrmException
-
The requested DRM scheme is unsupported by the device.
- recursiveDelete(File) - Static method in class com.google.android.exoplayer2.util.Util
-
Recursively deletes a directory and its content.
- reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
- reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.source.CompositeSequenceableLoader
-
- reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- reevaluateBuffer(long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Re-evaluates the buffer given the playback position.
- reevaluateBuffer(long) - Method in interface com.google.android.exoplayer2.source.SequenceableLoader
-
Re-evaluates the buffer given the playback position.
- reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
-
- reevaluateBuffer(long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- refreshPlaylist(Uri) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
- refreshPlaylist(Uri) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
-
Requests a playlist refresh and whitelists it.
- refreshSourceInfo(Timeline) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
-
Updates timeline and manifest and notifies all listeners of the update.
- register() - Method in class com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver
-
Registers the receiver, meaning it will notify the listener when audio capability changes
occur.
- registerCustomCommandReceiver(MediaSessionConnector.CommandReceiver) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
Registers a custom command receiver for responding to commands delivered via MediaSessionCompat.Callback#onCommand(String, Bundle, ResultReceiver).
- registerCustomMimeType(String, String, int) - Static method in class com.google.android.exoplayer2.util.MimeTypes
-
Registers a custom MIME type.
- registeredModules() - Static method in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
-
Returns a string consisting of registered module names separated by ", ".
- registerModule(String) - Static method in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
-
- REJECT_PAYWALL_TYPES - Static variable in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
A
Predicate that rejects content types often used for pay-walls.
- relativeDiscontinuitySequence - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
The number of #EXT-X-DISCONTINUITY tags in the playlist before the segment.
- relativeStartTimeUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
The start time of the segment in microseconds, relative to the start of the playlist.
- release() - Method in class com.google.android.exoplayer2.BasePlayer.ListenerHolder
-
- release() - Method in interface com.google.android.exoplayer2.decoder.Decoder
-
Releases the decoder.
- release() - Method in class com.google.android.exoplayer2.decoder.OutputBuffer
-
Releases the output buffer for reuse.
- release() - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
- release() - Method in class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
-
- release() - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
- release() - Method in interface com.google.android.exoplayer2.drm.DrmSession
-
Decrements the reference count.
- release() - Method in interface com.google.android.exoplayer2.drm.DrmSessionManager
-
Releases any acquired resources.
- release() - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- release() - Method in class com.google.android.exoplayer2.drm.ErrorStateDrmSession
-
- release() - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
Decrements the reference count.
- release() - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- release() - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
-
Releases the helper.
- release() - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- release() - Method in class com.google.android.exoplayer2.ext.flac.FlacExtractor
-
- release() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- release() - Method in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
-
- release() - Method in interface com.google.android.exoplayer2.extractor.Extractor
-
Releases all kept resources.
- release() - Method in class com.google.android.exoplayer2.extractor.flac.FlacExtractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Extractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- release() - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
-
- release() - Method in class com.google.android.exoplayer2.offline.DownloadHelper
-
Releases the helper and all resources it is holding.
- release() - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Stops the downloads and releases resources.
- release() - Method in interface com.google.android.exoplayer2.Player
-
Releases the player.
- release() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- release() - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
-
Releases the loader.
- release() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
-
- release() - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
Releases the stream.
- release(ChunkSampleStream.ReleaseCallback<T>) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
Releases the stream.
- release() - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerTrackEmsgHandler
-
Release this track emsg handler.
- release() - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler
-
Release this emsg handler.
- release() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- release() - Method in class com.google.android.exoplayer2.source.hls.WebvttExtractor
-
- release() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Calls
reset(true) and releases any resources owned by the queue.
- release() - Method in class com.google.android.exoplayer2.testutil.DummyMainThread
-
- release() - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
-
- release() - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- release() - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
-
Releases the runner.
- release() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- release() - Method in class com.google.android.exoplayer2.text.cea.Cea608Decoder
-
- release() - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
-
- release(Allocation) - Method in interface com.google.android.exoplayer2.upstream.Allocator
-
- release(Allocation[]) - Method in interface com.google.android.exoplayer2.upstream.Allocator
-
Releases an array of
Allocations back to the allocator.
- release() - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Releases the cache.
- release() - Method in class com.google.android.exoplayer2.upstream.cache.CachedRegionTracker
-
- release() - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- release(Allocation) - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
-
- release(Allocation[]) - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
-
- release() - Method in class com.google.android.exoplayer2.upstream.Loader
-
Releases the loader.
- release(Loader.ReleaseCallback) - Method in class com.google.android.exoplayer2.upstream.Loader
-
Releases the loader.
- release() - Method in class com.google.android.exoplayer2.util.EGLSurfaceTexture
-
Releases all allocated resources.
- release() - Method in class com.google.android.exoplayer2.video.DummySurface
-
- release() - Method in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
-
- releaseChildSource(T) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
-
Releases a child source.
- releaseCodec() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- releaseCodec() - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- releaseCount - Variable in class com.google.android.exoplayer2.testutil.FakeTrackSelection
-
- releaseDecoder() - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Releases the decoder.
- releaseHoleSpan(CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
- releaseHoleSpan(CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- releaseLicense(byte[]) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
-
Releases an offline license.
- releaseOutputBuffer(O) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
Releases an output buffer back to the decoder.
- releaseOutputBuffer(SubtitleOutputBuffer) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- releaseOutputBuffer(VideoDecoderOutputBuffer) - Method in interface com.google.android.exoplayer2.video.VideoDecoderOutputBuffer.Owner
-
Releases the buffer.
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource
-
Deprecated.
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.LoopingMediaSource
-
- releasePeriod() - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
Releases the period.
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
-
- releasePeriod(MediaPeriod) - Method in interface com.google.android.exoplayer2.source.MediaSource
-
Releases the period.
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.MergingMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.SilenceMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
-
- releasePeriod(MediaPeriod) - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
-
- releaseSource(MediaSource.MediaSourceCaller) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
-
- releaseSource(MediaSource.MediaSourceCaller) - Method in interface com.google.android.exoplayer2.source.MediaSource
-
Unregisters a caller, and disables and releases the source if no longer required.
- releaseSource() - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
-
- releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.ads.AdsMediaSource
-
- releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.BaseMediaSource
-
- releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.ClippingMediaSource
-
- releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
-
- releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
- releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource
-
- releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
-
- releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.MergingMediaSource
-
- releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource
-
- releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.SilenceMediaSource
-
- releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- releaseSourceInternal() - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- releaseSourceInternal() - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
-
- remove(int) - Method in interface com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor.QueueDataAdapter
-
Removes the item at the given position.
- remove() - Method in interface com.google.android.exoplayer2.offline.Downloader
-
Removes the content.
- remove() - Method in class com.google.android.exoplayer2.offline.ProgressiveDownloader
-
- remove() - Method in class com.google.android.exoplayer2.offline.SegmentDownloader
-
- remove(DataSpec, Cache, CacheKeyFactory) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheUtil
-
Removes all of the data specified by the dataSpec.
- remove(Cache, String) - Static method in class com.google.android.exoplayer2.upstream.cache.CacheUtil
-
Removes all of the data specified by the key.
- remove(String) - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
-
Adds a mutation to remove a metadata value.
- remove(String) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
-
Removes a request property by name.
- remove(int) - Method in class com.google.android.exoplayer2.util.PriorityTaskManager
-
Unregister a task.
- removeAllDownloads() - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Cancels all pending downloads and removes all downloaded data.
- removeAnalyticsListener(AnalyticsListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- removeAudioDebugListener(AudioRendererEventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- removeAudioListener(AudioListener) - Method in interface com.google.android.exoplayer2.Player.AudioComponent
-
Removes a listener of audio events.
- removeAudioListener(AudioListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- removeCallback(VideoAdPlayer.VideoAdPlayerCallback) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- removeCallbacksAndMessages(Object) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
-
- removeDownload(String) - Method in class com.google.android.exoplayer2.offline.DefaultDownloadIndex
-
- removeDownload(String) - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Cancels the download with the id and removes all downloaded data.
- removeDownload(String) - Method in interface com.google.android.exoplayer2.offline.WritableDownloadIndex
-
Removes the download with the given ID.
- removeEventListener(MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.BaseMediaSource
-
- removeEventListener(MediaSourceEventListener) - Method in interface com.google.android.exoplayer2.source.MediaSource
-
- removeEventListener(MediaSourceEventListener) - Method in class com.google.android.exoplayer2.source.MediaSourceEventListener.EventDispatcher
-
Removes a listener from the event dispatcher.
- removeEventListener(BandwidthMeter.EventListener) - Method in interface com.google.android.exoplayer2.upstream.BandwidthMeter
-
- removeEventListener(BandwidthMeter.EventListener) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
- removeItem(int) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
Removes an item from the media queue.
- removeListener(AnalyticsListener) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
Removes a previously added analytics event listener.
- removeListener(DefaultDrmSessionEventListener) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
- removeListener(Player.EventListener) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- removeListener(DownloadManager.Listener) - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
- removeListener(Player.EventListener) - Method in interface com.google.android.exoplayer2.Player
-
Unregister a listener.
- removeListener(Player.EventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- removeListener(HlsPlaylistTracker.PlaylistEventListener) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
- removeListener(HlsPlaylistTracker.PlaylistEventListener) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
-
Unregisters a listener.
- removeListener(Player.EventListener) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- removeListener(TimeBar.OnScrubListener) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- removeListener(TimeBar.OnScrubListener) - Method in interface com.google.android.exoplayer2.ui.TimeBar
-
Removes a listener for scrubbing events.
- removeListener(String, Cache.Listener) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Unregisters a listener.
- removeListener(String, Cache.Listener) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- removeListener(T) - Method in class com.google.android.exoplayer2.util.EventDispatcher
-
Removes a listener from the event dispatcher.
- removeMediaSource(int) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
- removeMediaSource(int, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
Removes a
MediaSource from the playlist and executes a custom action on completion.
- removeMediaSourceRange(int, int) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
Removes a range of
MediaSources from the playlist, by specifying an initial index
(included) and a final index (excluded).
- removeMediaSourceRange(int, int, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
Removes a range of
MediaSources from the playlist, by specifying an initial index
(included) and a final index (excluded), and executes a custom action on completion.
- removeMessages(int) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
-
- removeMetadataOutput(MetadataOutput) - Method in interface com.google.android.exoplayer2.Player.MetadataComponent
-
- removeMetadataOutput(MetadataOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- removeQueryParameter(Uri, String) - Static method in class com.google.android.exoplayer2.util.UriUtil
-
Removes query parameter from an Uri, if present.
- removeRange(List<T>, int, int) - Static method in class com.google.android.exoplayer2.util.Util
-
Removes an indexed range from a List.
- removeSpan(CacheSpan) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Removes a cached
CacheSpan from the cache, deleting the underlying file.
- removeSpan(CacheSpan) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- removeTextOutput(TextOutput) - Method in interface com.google.android.exoplayer2.Player.TextComponent
-
Removes a text output.
- removeTextOutput(TextOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- removeVersion(SQLiteDatabase, int, String) - Static method in class com.google.android.exoplayer2.database.VersionTable
-
Removes the version of a specified instance of a feature.
- removeVideoDebugListener(VideoRendererEventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- removeVideoListener(VideoListener) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Removes a listener of video events.
- removeVideoListener(VideoListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- removeVisibilityListener(PlayerControlView.VisibilityListener) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
- render(long, long) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- render(long, long) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- render(long, long) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
-
- render(long, long) - Method in interface com.google.android.exoplayer2.Renderer
-
- render(long, long) - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
-
- render(long, long) - Method in class com.google.android.exoplayer2.text.TextRenderer
-
- render(long, long) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
- render(long, long) - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
-
- renderedFirstFrame(Surface) - Method in class com.google.android.exoplayer2.video.VideoRendererEventListener.EventDispatcher
-
- renderedOutputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The number of rendered output buffers.
- Renderer - Interface in com.google.android.exoplayer2
-
- Renderer.State - Annotation Type in com.google.android.exoplayer2
-
The renderer states.
- RENDERER_SUPPORT_EXCEEDS_CAPABILITIES_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
The renderer has tracks mapped to it and at least one is of a supported type, but all such
tracks exceed the renderer's capabilities.
- RENDERER_SUPPORT_NO_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
The renderer does not have any associated tracks.
- RENDERER_SUPPORT_PLAYABLE_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
The renderer has tracks mapped to it, and at least one such track is playable.
- RENDERER_SUPPORT_UNSUPPORTED_TRACKS - Static variable in class com.google.android.exoplayer2.trackselection.MappingTrackSelector.MappedTrackInfo
-
The renderer has tracks mapped to it, but all are unsupported.
- RendererCapabilities - Interface in com.google.android.exoplayer2
-
- RendererCapabilities.AdaptiveSupport - Annotation Type in com.google.android.exoplayer2
-
Level of renderer support for adaptive format switches.
- RendererCapabilities.Capabilities - Annotation Type in com.google.android.exoplayer2
-
Combined renderer capabilities.
- RendererCapabilities.FormatSupport - Annotation Type in com.google.android.exoplayer2
-
Level of renderer support for a format.
- RendererCapabilities.TunnelingSupport - Annotation Type in com.google.android.exoplayer2
-
Level of renderer support for tunneling.
- RendererConfiguration - Class in com.google.android.exoplayer2
-
- RendererConfiguration(int) - Constructor for class com.google.android.exoplayer2.RendererConfiguration
-
- rendererConfigurations - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
-
- rendererFormat - Variable in exception com.google.android.exoplayer2.ExoPlaybackException
-
- rendererFormatSupport - Variable in exception com.google.android.exoplayer2.ExoPlaybackException
-
- rendererIndex - Variable in exception com.google.android.exoplayer2.ExoPlaybackException
-
- renderers - Variable in class com.google.android.exoplayer2.SimpleExoPlayer
-
- RenderersFactory - Interface in com.google.android.exoplayer2
-
- renderOutputBuffer(VideoDecoderOutputBuffer, long, Format) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
-
- renderOutputBuffer(MediaCodec, int, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
Renders the output buffer with the specified index.
- renderOutputBuffer(VideoDecoderOutputBuffer, long, Format) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Renders the specified output buffer.
- renderOutputBufferToSurface(VideoDecoderOutputBuffer, Surface) - Method in class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
-
- renderOutputBufferToSurface(VideoDecoderOutputBuffer, Surface) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
-
- renderOutputBufferToSurface(VideoDecoderOutputBuffer, Surface) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Renders the specified output buffer to the passed surface.
- renderOutputBufferV21(MediaCodec, int, long, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
Renders the output buffer with the specified index.
- renderToEndOfStream() - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- renderToEndOfStream() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Incrementally renders any remaining output.
- Rendition(Uri, Format, String, String) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Rendition
-
- renewLicense(byte[]) - Method in class com.google.android.exoplayer2.drm.OfflineLicenseHelper
-
Renews an offline license.
- repeat(Action, long) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules an action repeatedly.
- REPEAT_MODE_ALL - Static variable in interface com.google.android.exoplayer2.Player
-
"Repeat All" mode to repeat the entire timeline infinitely.
- REPEAT_MODE_OFF - Static variable in interface com.google.android.exoplayer2.Player
-
Normal playback without repetition.
- REPEAT_MODE_ONE - Static variable in interface com.google.android.exoplayer2.Player
-
"Repeat One" mode to repeat the currently playing window infinitely.
- REPEAT_TOGGLE_MODE_ALL - Static variable in class com.google.android.exoplayer2.util.RepeatModeUtil
-
"Repeat All" button enabled.
- REPEAT_TOGGLE_MODE_NONE - Static variable in class com.google.android.exoplayer2.util.RepeatModeUtil
-
All repeat mode buttons disabled.
- REPEAT_TOGGLE_MODE_ONE - Static variable in class com.google.android.exoplayer2.util.RepeatModeUtil
-
"Repeat One" button enabled.
- RepeatModeActionProvider - Class in com.google.android.exoplayer2.ext.mediasession
-
Provides a custom action for toggling repeat modes.
- RepeatModeActionProvider(Context) - Constructor for class com.google.android.exoplayer2.ext.mediasession.RepeatModeActionProvider
-
Creates a new instance.
- RepeatModeActionProvider(Context, int) - Constructor for class com.google.android.exoplayer2.ext.mediasession.RepeatModeActionProvider
-
Creates a new instance enabling the given repeat toggle modes.
- RepeatModeUtil - Class in com.google.android.exoplayer2.util
-
Util class for repeat mode handling.
- RepeatModeUtil.RepeatToggleModes - Annotation Type in com.google.android.exoplayer2.util
-
Set of repeat toggle modes.
- replaceManifestUri(Uri) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource
-
Manually replaces the manifest
Uri.
- replaceOutputBuffer(int) - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
-
Replaces the current output buffer with a buffer of at least count bytes and returns
it.
- replaceSession(DrmSession<T>, DrmSession<T>) - Static method in interface com.google.android.exoplayer2.drm.DrmSession
-
- replaceStream(Format[], SampleStream, long) - Method in class com.google.android.exoplayer2.BaseRenderer
-
- replaceStream(Format[], SampleStream, long) - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
Replaces the
SampleStream that will be associated with this renderer.
- replaceStream(Format[], SampleStream, long) - Method in interface com.google.android.exoplayer2.Renderer
-
Replaces the
SampleStream from which samples will be consumed.
- replaceTrackSelections(int, DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.offline.DownloadHelper
-
Replaces a selection of tracks to be downloaded.
- representation - Variable in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- Representation - Class in com.google.android.exoplayer2.source.dash.manifest
-
A DASH representation.
- Representation.MultiSegmentRepresentation - Class in com.google.android.exoplayer2.source.dash.manifest
-
A DASH representation consisting of multiple segments.
- Representation.SingleSegmentRepresentation - Class in com.google.android.exoplayer2.source.dash.manifest
-
A DASH representation consisting of a single segment.
- representationHolders - Variable in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource
-
- RepresentationInfo(Format, String, SegmentBase, String, ArrayList<DrmInitData.SchemeData>, ArrayList<Descriptor>, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
-
- representations - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
-
- RepresentationSegmentIterator(DefaultDashChunkSource.RepresentationHolder, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationSegmentIterator
-
Creates iterator.
- request - Variable in class com.google.android.exoplayer2.offline.Download
-
The download request.
- REQUEST_HEADER_ENABLE_METADATA_NAME - Static variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
-
- REQUEST_HEADER_ENABLE_METADATA_VALUE - Static variable in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
-
- requestAds(ViewGroup) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
Requests ads, if they have not already been requested.
- requestHeaders - Variable in class com.google.android.exoplayer2.ext.cast.MediaItem.DrmConfiguration
-
Headers that should be attached to any license requests.
- RequestProperties() - Constructor for class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
-
- RequestSet(FakeDataSet) - Constructor for class com.google.android.exoplayer2.testutil.CacheAsserts.RequestSet
-
- Requirements - Class in com.google.android.exoplayer2.scheduler
-
Defines a set of device state requirements.
- Requirements(int) - Constructor for class com.google.android.exoplayer2.scheduler.Requirements
-
- Requirements.RequirementFlags - Annotation Type in com.google.android.exoplayer2.scheduler
-
Requirement flags.
- RequirementsWatcher - Class in com.google.android.exoplayer2.scheduler
-
- RequirementsWatcher(Context, RequirementsWatcher.Listener, Requirements) - Constructor for class com.google.android.exoplayer2.scheduler.RequirementsWatcher
-
- RequirementsWatcher.Listener - Interface in com.google.android.exoplayer2.scheduler
-
Notified when RequirementsWatcher instance first created and on changes whether the
Requirements are met.
- requiresCacheSpanTouches() - Method in interface com.google.android.exoplayer2.upstream.cache.CacheEvictor
-
Returns whether the evictor requires the
Cache to touch
CacheSpans
when it accesses them.
- requiresCacheSpanTouches() - Method in class com.google.android.exoplayer2.upstream.cache.LeastRecentlyUsedCacheEvictor
-
- requiresCacheSpanTouches() - Method in class com.google.android.exoplayer2.upstream.cache.NoOpCacheEvictor
-
- reset() - Method in interface com.google.android.exoplayer2.audio.AudioProcessor
-
Resets the processor to its unconfigured state, releasing any resources.
- reset() - Method in interface com.google.android.exoplayer2.audio.AudioSink
-
Resets the renderer, releasing any resources that it currently holds.
- reset() - Method in class com.google.android.exoplayer2.audio.BaseAudioProcessor
-
- reset() - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
- reset() - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
-
- reset() - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
-
- reset() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- reset() - Method in class com.google.android.exoplayer2.ext.gvr.GvrAudioProcessor
-
Deprecated.
- reset() - Method in class com.google.android.exoplayer2.extractor.VorbisBitArray
-
Resets the reading position to zero.
- reset() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- reset() - Method in interface com.google.android.exoplayer2.Renderer
-
Forces the renderer to give up any resources (e.g.
- reset() - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkIterator
-
- reset() - Method in interface com.google.android.exoplayer2.source.chunk.MediaChunkIterator
-
Resets the iterator to the initial position.
- reset() - Method in class com.google.android.exoplayer2.source.hls.TimestampAdjusterProvider
-
Resets the provider.
- reset() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Convenience method for reset(false).
- reset(boolean) - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Clears all samples from the queue.
- reset() - Method in class com.google.android.exoplayer2.testutil.CapturingAudioSink
-
- reset() - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
Resets the input to its initial state.
- reset() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- reset() - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
-
- reset() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
-
- reset(byte[]) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Updates the instance to wrap data, and resets the position to zero.
- reset(ParsableByteArray) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Sets this instance's data, position and limit to match the provided parsableByteArray.
- reset(byte[], int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Updates the instance to wrap data, and resets the position to zero.
- reset() - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Sets the position and limit to zero.
- reset(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Resets the position to zero and the limit to the specified value.
- reset(byte[]) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Updates the instance to wrap data, and resets the position to zero and the limit to
data.length.
- reset(byte[], int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Updates the instance to wrap data, and resets the position to zero.
- reset(byte[], int, int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Resets the wrapped data, limit and offset.
- reset(OutputStream) - Method in class com.google.android.exoplayer2.util.ReusableBufferedOutputStream
-
Resets this stream and uses the given output stream for writing.
- reset() - Method in class com.google.android.exoplayer2.util.SlidingPercentile
-
Resets the sliding percentile.
- reset() - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
-
Resets the instance to its initial state.
- reset() - Method in class com.google.android.exoplayer2.video.spherical.FrameRotationQueue
-
Removes all of the rotations and forces rotations to be recentered.
- resetBytesRead() - Method in class com.google.android.exoplayer2.upstream.StatsDataSource
-
- resetForNewMediaSource() - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
Resets the analytics collector for a new media source.
- resetPeekPosition() - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- resetPeekPosition() - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Resets the peek position to equal the current read position.
- resetPeekPosition() - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
- resetPosition(long) - Method in class com.google.android.exoplayer2.BaseRenderer
-
- resetPosition(long) - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- resetPosition(long) - Method in interface com.google.android.exoplayer2.Renderer
-
Signals to the renderer that a position discontinuity has occurred.
- resetPosition(long) - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
-
Resets the clock's position.
- resetSupplementalData(int) - Method in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
- RESIZE_MODE_FILL - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
The specified aspect ratio is ignored.
- RESIZE_MODE_FIT - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
Either the width or height is decreased to obtain the desired aspect ratio.
- RESIZE_MODE_FIXED_HEIGHT - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
The height is fixed and the width is increased or decreased to obtain the desired aspect ratio.
- RESIZE_MODE_FIXED_WIDTH - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
The width is fixed and the height is increased or decreased to obtain the desired aspect ratio.
- RESIZE_MODE_ZOOM - Static variable in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
Either the width or height is increased to obtain the desired aspect ratio.
- resolve(String, String) - Static method in class com.google.android.exoplayer2.util.UriUtil
-
Performs relative resolution of a referenceUri with respect to a baseUri.
- resolveDataSpec(DataSpec) - Method in interface com.google.android.exoplayer2.upstream.ResolvingDataSource.Resolver
-
- resolveReportedUri(Uri) - Method in interface com.google.android.exoplayer2.upstream.ResolvingDataSource.Resolver
-
- resolveSeekPositionUs(long, SeekParameters, long, long) - Static method in class com.google.android.exoplayer2.util.Util
-
Resolves a seek given the requested seek position, a
SeekParameters and two candidate
sync points.
- resolveToUri(String, String) - Static method in class com.google.android.exoplayer2.util.UriUtil
-
- resolveUri(String) - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
-
Returns the resolved
Uri represented by the instance.
- resolveUriString(String) - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
-
Returns the resolved uri represented by the instance as a string.
- ResolvingDataSource - Class in com.google.android.exoplayer2.upstream
-
- ResolvingDataSource(DataSource, ResolvingDataSource.Resolver) - Constructor for class com.google.android.exoplayer2.upstream.ResolvingDataSource
-
- ResolvingDataSource.Factory - Class in com.google.android.exoplayer2.upstream
-
- ResolvingDataSource.Resolver - Interface in com.google.android.exoplayer2.upstream
-
- responseCode - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
-
The response code that was outside of the 2xx range.
- responseHeaders - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.LoadEventInfo
-
The response headers associated with the load, or an empty map if unavailable.
- responseMessage - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.InvalidResponseCodeException
-
The http status message.
- restoreKeys(byte[], byte[]) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- restoreKeys(byte[], byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- restoreKeys(byte[], byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- Result(Extractor, boolean, boolean) - Constructor for class com.google.android.exoplayer2.source.hls.HlsExtractorFactory.Result
-
Creates a result.
- RESULT_BUFFER_READ - Static variable in class com.google.android.exoplayer2.C
-
A return value for methods where a buffer was read.
- RESULT_CONTINUE - Static variable in interface com.google.android.exoplayer2.extractor.Extractor
-
- RESULT_END_OF_INPUT - Static variable in class com.google.android.exoplayer2.C
-
A return value for methods where the end of an input was encountered.
- RESULT_END_OF_INPUT - Static variable in interface com.google.android.exoplayer2.extractor.Extractor
-
- RESULT_FORMAT_READ - Static variable in class com.google.android.exoplayer2.C
-
A return value for methods where a format was read.
- RESULT_MAX_LENGTH_EXCEEDED - Static variable in class com.google.android.exoplayer2.C
-
A return value for methods where the length of parsed data exceeds the maximum length allowed.
- RESULT_NOTHING_READ - Static variable in class com.google.android.exoplayer2.C
-
A return value for methods where nothing was read.
- RESULT_SEEK - Static variable in interface com.google.android.exoplayer2.extractor.Extractor
-
- resumeAd() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- resumeDownloads() - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Resumes downloads.
- retainBackBufferFromKeyframe() - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
- retainBackBufferFromKeyframe() - Method in interface com.google.android.exoplayer2.LoadControl
-
Returns whether media should be retained from the keyframe before the current playback position
minus
LoadControl.getBackBufferDurationUs(), rather than any sample before or at that position.
- retry() - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Retries a failed or stopped playback.
- retry() - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- retry() - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- RETRY - Static variable in class com.google.android.exoplayer2.upstream.Loader
-
Retries the load using the default delay.
- RETRY_RESET_ERROR_COUNT - Static variable in class com.google.android.exoplayer2.upstream.Loader
-
Retries the load using the default delay and resets the error count.
- ReusableBufferedOutputStream - Class in com.google.android.exoplayer2.util
-
- ReusableBufferedOutputStream(OutputStream) - Constructor for class com.google.android.exoplayer2.util.ReusableBufferedOutputStream
-
- ReusableBufferedOutputStream(OutputStream, int) - Constructor for class com.google.android.exoplayer2.util.ReusableBufferedOutputStream
-
- REVISION_ID_DEFAULT - Static variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
- revisionId - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
-
- revisionId - Variable in class com.google.android.exoplayer2.source.dash.manifest.Representation
-
Identifies the revision of the media contained within the representation.
- RIFF_FOURCC - Static variable in class com.google.android.exoplayer2.audio.WavUtil
-
Four character code for "RIFF".
- rightMesh - Variable in class com.google.android.exoplayer2.video.spherical.Projection
-
The Mesh corresponding to the right eye.
- ROLE_FLAG_ALTERNATE - Static variable in class com.google.android.exoplayer2.C
-
Indicates an alternate track.
- ROLE_FLAG_CAPTION - Static variable in class com.google.android.exoplayer2.C
-
Indicates the track contains captions.
- ROLE_FLAG_COMMENTARY - Static variable in class com.google.android.exoplayer2.C
-
Indicates the track contains commentary, for example from the director.
- ROLE_FLAG_DESCRIBES_MUSIC_AND_SOUND - Static variable in class com.google.android.exoplayer2.C
-
Indicates the track contains a textual description of music and sound.
- ROLE_FLAG_DESCRIBES_VIDEO - Static variable in class com.google.android.exoplayer2.C
-
Indicates the track contains an audio or textual description of a video track.
- ROLE_FLAG_DUB - Static variable in class com.google.android.exoplayer2.C
-
Indicates the track is in a different language from the original, for example dubbed audio or
translated captions.
- ROLE_FLAG_EASY_TO_READ - Static variable in class com.google.android.exoplayer2.C
-
Indicates the track contains a text that has been edited for ease of reading.
- ROLE_FLAG_EMERGENCY - Static variable in class com.google.android.exoplayer2.C
-
Indicates the track contains information about a current emergency.
- ROLE_FLAG_ENHANCED_DIALOG_INTELLIGIBILITY - Static variable in class com.google.android.exoplayer2.C
-
Indicates the track is designed for improved intelligibility of dialogue.
- ROLE_FLAG_MAIN - Static variable in class com.google.android.exoplayer2.C
-
Indicates a main track.
- ROLE_FLAG_SIGN - Static variable in class com.google.android.exoplayer2.C
-
Indicates the track contains a visual sign-language interpretation of an audio track.
- ROLE_FLAG_SUBTITLE - Static variable in class com.google.android.exoplayer2.C
-
Indicates the track contains subtitles.
- ROLE_FLAG_SUPPLEMENTARY - Static variable in class com.google.android.exoplayer2.C
-
Indicates a supplementary track, meaning the track has lower importance than the main track(s).
- ROLE_FLAG_TRANSCRIBES_DIALOG - Static variable in class com.google.android.exoplayer2.C
-
Indicates the track contains a transcription of spoken dialog.
- roleFlags - Variable in class com.google.android.exoplayer2.Format
-
Track role flags.
- rotationDegrees - Variable in class com.google.android.exoplayer2.Format
-
The clockwise rotation that should be applied to the video for it to be rendered in the correct
orientation, or 0 if unknown or not applicable.
- RtmpDataSource - Class in com.google.android.exoplayer2.ext.rtmp
-
- RtmpDataSource() - Constructor for class com.google.android.exoplayer2.ext.rtmp.RtmpDataSource
-
- RtmpDataSourceFactory - Class in com.google.android.exoplayer2.ext.rtmp
-
- RtmpDataSourceFactory() - Constructor for class com.google.android.exoplayer2.ext.rtmp.RtmpDataSourceFactory
-
- RtmpDataSourceFactory(TransferListener) - Constructor for class com.google.android.exoplayer2.ext.rtmp.RtmpDataSourceFactory
-
- run() - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
-
- run(SimpleExoPlayer) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.PlayerRunnable
-
Executes Runnable with reference to player.
- run() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.PlayerRunnable
-
- run() - Method in interface com.google.android.exoplayer2.testutil.DummyMainThread.TestRunnable
-
- run() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
- run() - Method in class com.google.android.exoplayer2.util.EGLSurfaceTexture
-
- runOnMainThread(Runnable) - Method in class com.google.android.exoplayer2.testutil.DummyMainThread
-
- runOnMainThread(int, Runnable) - Method in class com.google.android.exoplayer2.testutil.DummyMainThread
-
Runs the provided
Runnable on the main thread, blocking until execution completes or
until timeout milliseconds have passed.
- runOnPlaybackThread(Runnable) - Method in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
-
Runs the provided
Runnable on the playback thread, blocking until execution completes.
- runTest(HostActivity.HostedTest, long) - Method in class com.google.android.exoplayer2.testutil.HostActivity
-
- runTest(HostActivity.HostedTest, long, boolean) - Method in class com.google.android.exoplayer2.testutil.HostActivity
-
- runTestOnMainThread(DummyMainThread.TestRunnable) - Method in class com.google.android.exoplayer2.testutil.DummyMainThread
-
- runTestOnMainThread(int, DummyMainThread.TestRunnable) - Method in class com.google.android.exoplayer2.testutil.DummyMainThread
-
Runs the provided
DummyMainThread.TestRunnable on the main thread, blocking until execution completes
or until timeout milliseconds have passed.
- SAMPLE_HEADER_SIZE - Static variable in class com.google.android.exoplayer2.audio.Ac4Util
-
The AC-4 sync frame header size for extractor.
- SAMPLE_RATE_NO_CHANGE - Static variable in class com.google.android.exoplayer2.audio.SonicAudioProcessor
-
Indicates that the output sample rate should be the same as the input.
- sampleBufferReadCount - Variable in class com.google.android.exoplayer2.testutil.FakeRenderer
-
- sampleCount - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
-
Number of audio samples in the frame.
- sampleCount - Variable in class com.google.android.exoplayer2.audio.Ac4Util.SyncFrameInfo
-
Number of audio samples in the frame.
- sampleData(ExtractorInput, int, boolean) - Method in class com.google.android.exoplayer2.extractor.DummyTrackOutput
-
- sampleData(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.extractor.DummyTrackOutput
-
- sampleData(ExtractorInput, int, boolean) - Method in interface com.google.android.exoplayer2.extractor.TrackOutput
-
Called to write sample data to the output.
- sampleData(ParsableByteArray, int) - Method in interface com.google.android.exoplayer2.extractor.TrackOutput
-
Called to write sample data to the output.
- sampleData(ExtractorInput, int, boolean) - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerTrackEmsgHandler
-
- sampleData(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerTrackEmsgHandler
-
- sampleData(ExtractorInput, int, boolean) - Method in class com.google.android.exoplayer2.source.SampleQueue
-
- sampleData(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.source.SampleQueue
-
- sampleData(ExtractorInput, int, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
-
- sampleData(ParsableByteArray, int) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
-
- sampleMetadata(long, int, int, int, TrackOutput.CryptoData) - Method in class com.google.android.exoplayer2.extractor.DummyTrackOutput
-
- sampleMetadata(long, int, int, int, TrackOutput.CryptoData) - Method in interface com.google.android.exoplayer2.extractor.TrackOutput
-
Called when metadata associated with a sample has been extracted from the stream.
- sampleMetadata(long, int, int, int, TrackOutput.CryptoData) - Method in class com.google.android.exoplayer2.source.dash.PlayerEmsgHandler.PlayerTrackEmsgHandler
-
- sampleMetadata(long, int, int, int, TrackOutput.CryptoData) - Method in class com.google.android.exoplayer2.source.SampleQueue
-
- sampleMetadata(long, int, int, int, TrackOutput.CryptoData) - Method in class com.google.android.exoplayer2.testutil.FakeTrackOutput
-
- sampleMimeType - Variable in class com.google.android.exoplayer2.Format
-
The mime type of the elementary stream (i.e.
- sampleNumber - Variable in class com.google.android.exoplayer2.extractor.FlacFrameReader.SampleNumberHolder
-
The sample number.
- SampleNumberHolder() - Constructor for class com.google.android.exoplayer2.extractor.FlacFrameReader.SampleNumberHolder
-
- SampleQueue - Class in com.google.android.exoplayer2.source
-
A queue of media samples.
- SampleQueue(Allocator, DrmSessionManager<?>) - Constructor for class com.google.android.exoplayer2.source.SampleQueue
-
Creates a sample queue.
- SampleQueue.UpstreamFormatChangedListener - Interface in com.google.android.exoplayer2.source
-
A listener for changes to the upstream format.
- SampleQueueMappingException - Exception in com.google.android.exoplayer2.source.hls
-
- SampleQueueMappingException(String) - Constructor for exception com.google.android.exoplayer2.source.hls.SampleQueueMappingException
-
- sampleRate - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
-
The audio sampling rate in Hz.
- sampleRate - Variable in class com.google.android.exoplayer2.audio.Ac4Util.SyncFrameInfo
-
The audio sampling rate in Hz.
- sampleRate - Variable in class com.google.android.exoplayer2.audio.AudioProcessor.AudioFormat
-
The sample rate in Hertz.
- sampleRate - Variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
Sample rate in samples per second.
- sampleRate - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.VorbisIdHeader
-
- sampleRate - Variable in class com.google.android.exoplayer2.Format
-
The audio sampling rate in Hz, or
Format.NO_VALUE if unknown or not applicable.
- sampleRate - Variable in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Sample rate in Hertz.
- sampleRateLookupKey - Variable in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
- samplesPerFrame - Variable in class com.google.android.exoplayer2.extractor.MpegAudioHeader
-
Number of samples stored in the frame.
- SampleStream - Interface in com.google.android.exoplayer2.source
-
A stream of media samples (and associated format information).
- sampleTransformation - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
One of TRANSFORMATION_*.
- SANS_SERIF_NAME - Static variable in class com.google.android.exoplayer2.C
-
The name of the sans-serif font family.
- scaleDurationForSpeedup(long) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
-
Returns the specified duration scaled to take into account the speedup factor of this instance,
in the same units as duration.
- scaleLargeTimestamp(long, long, long) - Static method in class com.google.android.exoplayer2.util.Util
-
Scales a large timestamp.
- scaleLargeTimestamps(List<Long>, long, long) - Static method in class com.google.android.exoplayer2.util.Util
-
- scaleLargeTimestampsInPlace(long[], long, long) - Static method in class com.google.android.exoplayer2.util.Util
-
- schedule(Requirements, String, String) - Method in class com.google.android.exoplayer2.ext.jobdispatcher.JobDispatcherScheduler
-
Deprecated.
- schedule(Requirements, String, String) - Method in class com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler
-
- schedule(Requirements, String, String) - Method in class com.google.android.exoplayer2.scheduler.PlatformScheduler
-
- schedule(Requirements, String, String) - Method in interface com.google.android.exoplayer2.scheduler.Scheduler
-
Schedules a service to be started in the foreground when some
Requirements are met.
- Scheduler - Interface in com.google.android.exoplayer2.scheduler
-
Schedules a service to be started in the foreground when some
Requirements are met.
- SchedulerWorker(Context, WorkerParameters) - Constructor for class com.google.android.exoplayer2.ext.workmanager.WorkManagerScheduler.SchedulerWorker
-
- SCHEME_DATA - Static variable in class com.google.android.exoplayer2.upstream.DataSchemeDataSource
-
- SchemeData(UUID, String, byte[]) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
- SchemeData(UUID, String, String, byte[]) - Constructor for class com.google.android.exoplayer2.drm.DrmInitData.SchemeData
-
- schemeDataCount - Variable in class com.google.android.exoplayer2.drm.DrmInitData
-
- schemeIdUri - Variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
-
The message scheme.
- schemeIdUri - Variable in class com.google.android.exoplayer2.source.dash.manifest.Descriptor
-
The scheme URI.
- schemeIdUri - Variable in class com.google.android.exoplayer2.source.dash.manifest.EventStream
-
The scheme URI.
- schemeIdUri - Variable in class com.google.android.exoplayer2.source.dash.manifest.UtcTimingElement
-
- schemeType - Variable in class com.google.android.exoplayer2.drm.DrmInitData
-
The protection scheme type, or null if not applicable or unknown.
- schemeType - Variable in class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
-
The protection scheme type, as defined by the 'schm' box, or null if unknown.
- SCTE35_SCHEME_ID - Static variable in class com.google.android.exoplayer2.metadata.emsg.EventMessage
-
- SDK_INT - Static variable in class com.google.android.exoplayer2.util.Util
-
- searchForTimestamp(ExtractorInput, long) - Method in interface com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSeeker
-
Searches a limited window of the provided input for a target timestamp.
- second - Variable in class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
-
- SectionPayloadReader - Interface in com.google.android.exoplayer2.extractor.ts
-
Reads section data.
- SectionReader - Class in com.google.android.exoplayer2.extractor.ts
-
- SectionReader(SectionPayloadReader) - Constructor for class com.google.android.exoplayer2.extractor.ts.SectionReader
-
- secure - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Whether the decoder is secure.
- secure - Variable in class com.google.android.exoplayer2.video.DummySurface
-
Whether the surface is secure.
- SECURE_MODE_NONE - Static variable in class com.google.android.exoplayer2.util.EGLSurfaceTexture
-
No secure EGL surface and context required.
- SECURE_MODE_PROTECTED_PBUFFER - Static variable in class com.google.android.exoplayer2.util.EGLSurfaceTexture
-
Creating a secure surface backed by a pixel buffer.
- SECURE_MODE_SURFACELESS_CONTEXT - Static variable in class com.google.android.exoplayer2.util.EGLSurfaceTexture
-
Creating a surfaceless, secured EGL context.
- secureDecoderRequired - Variable in exception com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.DecoderInitializationException
-
Whether it was required that the decoder support a secure output path.
- seek(long, long) - Method in class com.google.android.exoplayer2.ext.flac.FlacExtractor
-
- seek(long, long) - Method in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
-
- seek(long, long) - Method in interface com.google.android.exoplayer2.extractor.Extractor
-
Notifies the extractor that a seek has occurred.
- seek(long, long) - Method in class com.google.android.exoplayer2.extractor.flac.FlacExtractor
-
- seek(long, long) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
-
- seek(long, long) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
- seek(long, long) - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
-
- seek(long, long) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
-
- seek(long, long) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
-
- seek(long, long) - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
-
- seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
-
- seek() - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Reader
-
- seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Extractor
-
- seek() - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Reader
-
- seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
-
- seek() - Method in class com.google.android.exoplayer2.extractor.ts.AdtsReader
-
- seek() - Method in class com.google.android.exoplayer2.extractor.ts.DtsReader
-
- seek() - Method in class com.google.android.exoplayer2.extractor.ts.DvbSubtitleReader
-
- seek() - Method in interface com.google.android.exoplayer2.extractor.ts.ElementaryStreamReader
-
Notifies the reader that a seek has occurred.
- seek() - Method in class com.google.android.exoplayer2.extractor.ts.H262Reader
-
- seek() - Method in class com.google.android.exoplayer2.extractor.ts.H264Reader
-
- seek() - Method in class com.google.android.exoplayer2.extractor.ts.H265Reader
-
- seek() - Method in class com.google.android.exoplayer2.extractor.ts.Id3Reader
-
- seek() - Method in class com.google.android.exoplayer2.extractor.ts.LatmReader
-
- seek() - Method in class com.google.android.exoplayer2.extractor.ts.MpegAudioReader
-
- seek() - Method in class com.google.android.exoplayer2.extractor.ts.PesReader
-
- seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- seek() - Method in class com.google.android.exoplayer2.extractor.ts.SectionReader
-
- seek(long, long) - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- seek() - Method in interface com.google.android.exoplayer2.extractor.ts.TsPayloadReader
-
Notifies the reader that a seek has occurred.
- seek(long, long) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
-
- seek(long, long) - Method in class com.google.android.exoplayer2.source.hls.WebvttExtractor
-
- Seek(String, long) - Constructor for class com.google.android.exoplayer2.testutil.Action.Seek
-
- Seek(String, int, long) - Constructor for class com.google.android.exoplayer2.testutil.Action.Seek
-
- seek(long) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a seek action.
- seek(int, long) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a seek action.
- seekAndWait(long) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a seek action and waits until playback resumes after the seek.
- seekMap - Variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
-
- seekMap(SeekMap) - Method in class com.google.android.exoplayer2.extractor.DummyExtractorOutput
-
- seekMap(SeekMap) - Method in interface com.google.android.exoplayer2.extractor.ExtractorOutput
-
Called when a
SeekMap has been extracted from the stream.
- SeekMap - Interface in com.google.android.exoplayer2.extractor
-
Maps seek positions (in microseconds) to corresponding positions (byte offsets) in the stream.
- seekMap(SeekMap) - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
-
- seekMap - Variable in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
-
- seekMap(SeekMap) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
-
- SeekMap.SeekPoints - Class in com.google.android.exoplayer2.extractor
-
- SeekMap.Unseekable - Class in com.google.android.exoplayer2.extractor
-
A
SeekMap that does not support seeking.
- seekOperationParams - Variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
-
- SeekOperationParams(long, long, long, long, long, long, long) - Constructor for class com.google.android.exoplayer2.extractor.BinarySearchSeeker.SeekOperationParams
-
- SeekParameters - Class in com.google.android.exoplayer2
-
Parameters that apply to seeking.
- SeekParameters(long, long) - Constructor for class com.google.android.exoplayer2.SeekParameters
-
- SeekPoint - Class in com.google.android.exoplayer2.extractor
-
Defines a seek point in a media stream.
- SeekPoint(long, long) - Constructor for class com.google.android.exoplayer2.extractor.SeekPoint
-
- SeekPoints(SeekPoint) - Constructor for class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
-
- SeekPoints(SeekPoint, SeekPoint) - Constructor for class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
-
- seekTable - Variable in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Seek table, or null if it is not provided.
- SeekTable(long[], long[]) - Constructor for class com.google.android.exoplayer2.util.FlacStreamMetadata.SeekTable
-
- seekTo(long) - Method in class com.google.android.exoplayer2.BasePlayer
-
- seekTo(int, long) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- seekTo(long) - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
-
- seekTo(long) - Method in interface com.google.android.exoplayer2.Player
-
Seeks to a position specified in milliseconds in the current window.
- seekTo(int, long) - Method in interface com.google.android.exoplayer2.Player
-
Seeks to a position specified in milliseconds in the specified window.
- seekTo(int, long) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- seekTo(int) - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Attempts to seek the read position to the specified sample index.
- seekTo(long, boolean) - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Attempts to seek the read position to the keyframe before or at the specified time.
- seekTo(int, long) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- seekToDefaultPosition() - Method in class com.google.android.exoplayer2.BasePlayer
-
- seekToDefaultPosition(int) - Method in class com.google.android.exoplayer2.BasePlayer
-
- seekToDefaultPosition() - Method in interface com.google.android.exoplayer2.Player
-
Seeks to the default position associated with the current window.
- seekToDefaultPosition(int) - Method in interface com.google.android.exoplayer2.Player
-
Seeks to the default position associated with the specified window.
- seekToPosition(ExtractorInput, long, PositionHolder) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
-
- seekToTimeUs(Extractor, SeekMap, long, DataSource, FakeTrackOutput, Uri) - Static method in class com.google.android.exoplayer2.testutil.TestUtil
-
Seeks to the given seek time of the stream from the given input, and keeps reading from the
input until we can extract at least one sample following the seek position, or until
end-of-input is reached.
- seekToUs(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
Seeks to the specified position in microseconds.
- seekToUs(long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
- seekToUs(long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- seekToUs(long) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- seekToUs(long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Attempts to seek to the specified position in microseconds.
- seekToUs(long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
-
- seekToUs(long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- Segment(long, DataSpec) - Constructor for class com.google.android.exoplayer2.offline.SegmentDownloader.Segment
-
Constructs a Segment.
- Segment(String, long, long, String, String) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
- Segment(String, HlsMediaPlaylist.Segment, String, long, int, long, DrmInitData, String, String, long, long, boolean) - Constructor for class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
- segmentBase - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifestParser.RepresentationInfo
-
- SegmentBase - Class in com.google.android.exoplayer2.source.dash.manifest
-
An approximate representation of a SegmentBase manifest element.
- SegmentBase(RangedUri, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase
-
- SegmentBase.MultiSegmentBase - Class in com.google.android.exoplayer2.source.dash.manifest
-
- SegmentBase.SegmentList - Class in com.google.android.exoplayer2.source.dash.manifest
-
- SegmentBase.SegmentTemplate - Class in com.google.android.exoplayer2.source.dash.manifest
-
- SegmentBase.SegmentTimelineElement - Class in com.google.android.exoplayer2.source.dash.manifest
-
Represents a timeline segment from the MPD's SegmentTimeline list.
- SegmentBase.SingleSegmentBase - Class in com.google.android.exoplayer2.source.dash.manifest
-
- SegmentDownloader<M extends FilterableManifest<M>> - Class in com.google.android.exoplayer2.offline
-
Base class for multi segment stream downloaders.
- SegmentDownloader(Uri, List<StreamKey>, DownloaderConstructorHelper) - Constructor for class com.google.android.exoplayer2.offline.SegmentDownloader
-
- SegmentDownloader.Segment - Class in com.google.android.exoplayer2.offline
-
Smallest unit of content to be downloaded.
- segmentIndex - Variable in class com.google.android.exoplayer2.source.dash.DefaultDashChunkSource.RepresentationHolder
-
- SegmentList(RangedUri, long, long, long, long, List<SegmentBase.SegmentTimelineElement>, List<RangedUri>) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentList
-
- segments - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
The list of segments in the playlist.
- SegmentTemplate(RangedUri, long, long, long, long, long, List<SegmentBase.SegmentTimelineElement>, UrlTemplate, UrlTemplate) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTemplate
-
- SegmentTimelineElement(long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SegmentTimelineElement
-
- SeiReader - Class in com.google.android.exoplayer2.extractor.ts
-
Consumes SEI buffers, outputting contained CEA-608 messages to a
TrackOutput.
- SeiReader(List<Format>) - Constructor for class com.google.android.exoplayer2.extractor.ts.SeiReader
-
- selectAllTracks(MappingTrackSelector.MappedTrackInfo, int[][][], int[], DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.testutil.FakeTrackSelector
-
- selectAllTracks(MappingTrackSelector.MappedTrackInfo, int[][][], int[], DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- selectAudioTrack(TrackGroupArray, int[][], int, DefaultTrackSelector.Parameters, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
Called by
#selectAllTracks(MappedTrackInfo, int[][][], int[], Parameters) to create a
TrackSelection for an audio renderer.
- selectEmbeddedTrack(long, int) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- SELECTION_FLAG_AUTOSELECT - Static variable in class com.google.android.exoplayer2.C
-
Indicates that the player may choose to play the track in absence of an explicit user
preference.
- SELECTION_FLAG_DEFAULT - Static variable in class com.google.android.exoplayer2.C
-
Indicates that the track should be selected if user preferences do not state otherwise.
- SELECTION_FLAG_FORCED - Static variable in class com.google.android.exoplayer2.C
-
Indicates that the track must be displayed.
- SELECTION_REASON_ADAPTIVE - Static variable in class com.google.android.exoplayer2.C
-
A selection reason constant for an adaptive track selection.
- SELECTION_REASON_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
-
Applications or extensions may define custom SELECTION_REASON_* constants greater than
or equal to this value.
- SELECTION_REASON_INITIAL - Static variable in class com.google.android.exoplayer2.C
-
A selection reason constant for an initial track selection.
- SELECTION_REASON_MANUAL - Static variable in class com.google.android.exoplayer2.C
-
A selection reason constant for an manual (i.e.
- SELECTION_REASON_TRICK_PLAY - Static variable in class com.google.android.exoplayer2.C
-
A selection reason constant for a trick play track selection.
- SELECTION_REASON_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
-
A selection reason constant for selections whose reasons are unknown or unspecified.
- selectionFlags - Variable in class com.google.android.exoplayer2.Format
-
Track selection flags.
- SelectionOverride(int, int...) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
-
- SelectionOverride(int, int[], int, int) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
-
- selections - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectorResult
-
- selectOtherTrack(int, TrackGroupArray, int[][], DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
Called by
#selectAllTracks(MappedTrackInfo, int[][][], int[], Parameters) to create a
TrackSelection for a renderer whose type is neither video, audio or text.
- selectTextTrack(TrackGroupArray, int[][], DefaultTrackSelector.Parameters, String) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
Called by
#selectAllTracks(MappedTrackInfo, int[][][], int[], Parameters) to create a
TrackSelection for a text renderer.
- selectTracks(TrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in class com.google.android.exoplayer2.source.ClippingMediaPeriod
-
- selectTracks(TrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaPeriod
-
- selectTracks(TrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
- selectTracks(TrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in interface com.google.android.exoplayer2.source.MediaPeriod
-
Performs a track selection.
- selectTracks(TrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in class com.google.android.exoplayer2.testutil.FakeAdaptiveMediaPeriod
-
- selectTracks(TrackSelection[], boolean[], SampleStream[], boolean[], long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- selectTracks(MappingTrackSelector.MappedTrackInfo, int[][][], int[]) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- selectTracks(RendererCapabilities[], TrackGroupArray, MediaSource.MediaPeriodId, Timeline) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
-
- selectTracks(MappingTrackSelector.MappedTrackInfo, int[][][], int[]) - Method in class com.google.android.exoplayer2.trackselection.MappingTrackSelector
-
Given mapped track information, returns a track selection and configuration for each renderer.
- selectTracks(RendererCapabilities[], TrackGroupArray, MediaSource.MediaPeriodId, Timeline) - Method in class com.google.android.exoplayer2.trackselection.TrackSelector
-
Called by the player to perform a track selection.
- selectUndeterminedTextLanguage - Variable in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters
-
- selectVideoTrack(TrackGroupArray, int[][], int, DefaultTrackSelector.Parameters, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
Called by
#selectAllTracks(MappedTrackInfo, int[][][], int[], Parameters) to create a
TrackSelection for a video renderer.
- send() - Method in class com.google.android.exoplayer2.PlayerMessage
-
Sends the message.
- sendAddDownload(Context, Class<? extends DownloadService>, DownloadRequest, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
-
Starts the service if not started already and adds a new download.
- sendAddDownload(Context, Class<? extends DownloadService>, DownloadRequest, int, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
-
Starts the service if not started already and adds a new download.
- sendEmptyMessage(int) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
-
- sendEmptyMessageAtTime(int, long) - Method in interface com.google.android.exoplayer2.util.HandlerWrapper
-
- sendLevel - Variable in class com.google.android.exoplayer2.audio.AuxEffectInfo
-
The send level for the effect.
- sendMessage(PlayerMessage) - Method in interface com.google.android.exoplayer2.PlayerMessage.Sender
-
Sends a message.
- sendMessage(PlayerMessage.Target, long) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
- sendMessage(PlayerMessage.Target, int, long) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
- sendMessage(PlayerMessage.Target, int, long, boolean) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
- SendMessages(String, PlayerMessage.Target, long) - Constructor for class com.google.android.exoplayer2.testutil.Action.SendMessages
-
- SendMessages(String, PlayerMessage.Target, int, long, boolean) - Constructor for class com.google.android.exoplayer2.testutil.Action.SendMessages
-
- sendPauseDownloads(Context, Class<? extends DownloadService>, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
-
Starts the service if not started already and pauses all downloads.
- sendRemoveAllDownloads(Context, Class<? extends DownloadService>, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
-
Starts the service if not started already and removes all downloads.
- sendRemoveDownload(Context, Class<? extends DownloadService>, String, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
-
Starts the service if not started already and removes a download.
- sendResumeDownloads(Context, Class<? extends DownloadService>, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
-
Starts the service if not started already and resumes all downloads.
- sendSetRequirements(Context, Class<? extends DownloadService>, Requirements, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
-
Starts the service if not started already and sets the requirements that need to be met for
downloads to progress.
- sendSetStopReason(Context, Class<? extends DownloadService>, String, int, boolean) - Static method in class com.google.android.exoplayer2.offline.DownloadService
-
Starts the service if not started already and sets the stop reason for one or all downloads.
- sendTo(T) - Method in interface com.google.android.exoplayer2.util.EventDispatcher.Event
-
Sends the event to a listener.
- separateColorPlaneFlag - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- seqParameterSetId - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.PpsData
-
- seqParameterSetId - Variable in class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- SequenceableLoader - Interface in com.google.android.exoplayer2.source
-
A loader that can proceed in approximate synchronization with other loaders.
- SequenceableLoader.Callback<T extends SequenceableLoader> - Interface in com.google.android.exoplayer2.source
-
- SERIF_NAME - Static variable in class com.google.android.exoplayer2.C
-
The name of the serif font family.
- SessionAvailabilityListener - Interface in com.google.android.exoplayer2.ext.cast
-
Listener of changes in the cast session availability.
- sessionId - Variable in class com.google.android.exoplayer2.drm.FrameworkMediaCrypto
-
The DRM session id.
- sessionKeyDrmInitData - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
-
DRM initialization data derived from #EXT-X-SESSION-KEY tags.
- set(int, int[], int[], byte[], byte[], int, int, int) - Method in class com.google.android.exoplayer2.decoder.CryptoInfo
-
- set(Object, Object, int, long, long) - Method in class com.google.android.exoplayer2.Timeline.Period
-
Sets the data held by this period.
- set(Object, Object, int, long, long, AdPlaybackState) - Method in class com.google.android.exoplayer2.Timeline.Period
-
Sets the data held by this period.
- set(Object, Object, Object, long, long, boolean, boolean, boolean, long, long, int, int, long) - Method in class com.google.android.exoplayer2.Timeline.Window
-
Sets the data held by this window.
- set(String, String) - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
-
Adds a mutation to set a metadata value.
- set(String, long) - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
-
Adds a mutation to set a metadata value.
- set(String, byte[]) - Method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
-
Adds a mutation to set a metadata value.
- set(String, String) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
-
Sets the specified property value for the specified name.
- set(Map<String, String>) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.RequestProperties
-
Sets the keys and values contained in the map.
- setActionSchedule(ActionSchedule) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
-
- setAdEventListener(AdEvent.AdEventListener) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
-
Sets a listener for ad events that will be passed to AdsManager#addAdEventListener(AdEventListener).
- setAdGroupTimesMs(long[], boolean[], int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- setAdGroupTimesMs(long[], boolean[], int) - Method in interface com.google.android.exoplayer2.ui.TimeBar
-
Sets the times of ad groups and whether each ad group has been played.
- setAdMarkerColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Sets the color for unplayed ad markers.
- setAdtsExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
-
- setAdUiElements(Set<UiElement>) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
-
Sets the ad UI elements to be rendered by the IMA SDK.
- setAllocator(DefaultAllocator) - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
-
- setAllocator(DefaultAllocator) - Method in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
-
- setAllowAdaptiveSelections(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
-
Sets whether adaptive selections (consisting of more than one track) can be made.
- setAllowAdaptiveSelections(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
-
Sets whether adaptive selections (consisting of more than one track) can be made using this
selection view.
- setAllowAudioMixedChannelCountAdaptiveness(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Sets whether to allow adaptive audio selections containing mixed channel counts.
- setAllowAudioMixedMimeTypeAdaptiveness(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Sets whether to allow adaptive audio selections containing mixed MIME types.
- setAllowAudioMixedSampleRateAdaptiveness(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Sets whether to allow adaptive audio selections containing mixed sample rates.
- setAllowChunklessPreparation(boolean) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
-
Sets whether chunkless preparation is allowed.
- setAllowedCapturePolicy(int) - Method in class com.google.android.exoplayer2.audio.AudioAttributes.Builder
-
- setAllowedVideoJoiningTimeMs(long) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
-
Sets the maximum duration for which video renderers can attempt to seamlessly join an ongoing
playback.
- setAllowMixedMimeAdaptiveness(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
- setAllowMultipleOverrides(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
-
Sets whether multiple overrides can be set and selected, i.e.
- setAllowMultipleOverrides(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
-
Sets whether tracks from multiple track groups can be selected.
- setAllowNonSeamlessAdaptiveness(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
- setAllowVideoMixedMimeTypeAdaptiveness(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Sets whether to allow adaptive video selections containing mixed MIME types.
- setAllowVideoNonSeamlessAdaptiveness(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Sets whether to allow adaptive video selections where adaptation may not be completely
seamless.
- setAmrExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
-
Sets flags for
AmrExtractor instances created by the factory.
- setAnalyticsCollector(AnalyticsCollector) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
-
- setAnalyticsCollector(AnalyticsCollector) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
-
- setAnalyticsListener(AnalyticsListener) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
-
- setApplyEmbeddedFontSizes(boolean) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Sets whether font sizes embedded within the cues should be applied.
- setApplyEmbeddedStyles(boolean) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Sets whether styling embedded within the cues should be applied.
- setAspectRatio(float) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
Sets the aspect ratio that this view should satisfy.
- setAspectRatioListener(AspectRatioFrameLayout.AspectRatioListener) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
- setAspectRatioListener(AspectRatioFrameLayout.AspectRatioListener) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- setAudioAttributes(AudioAttributes) - Method in interface com.google.android.exoplayer2.audio.AudioSink
-
Sets attributes for audio playback.
- setAudioAttributes(AudioAttributes) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
- setAudioAttributes(AudioAttributes) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
-
- setAudioAttributes(AudioAttributes) - Method in interface com.google.android.exoplayer2.Player.AudioComponent
-
- setAudioAttributes(AudioAttributes, boolean) - Method in interface com.google.android.exoplayer2.Player.AudioComponent
-
Sets the attributes for audio playback, used by the underlying audio track.
- setAudioAttributes(AudioAttributes) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setAudioAttributes(AudioAttributes, boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- SetAudioAttributes(String, AudioAttributes, boolean) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetAudioAttributes
-
- setAudioAttributes(AudioAttributes, boolean) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules application of audio attributes.
- setAudioDebugListener(AudioRendererEventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setAudioSessionId(int) - Method in interface com.google.android.exoplayer2.audio.AudioSink
-
Sets the audio session id.
- setAudioSessionId(int) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
- setAudioSessionId(int) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
-
- setAudioStreamType(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setAuxEffectInfo(AuxEffectInfo) - Method in interface com.google.android.exoplayer2.audio.AudioSink
-
Sets the auxiliary effect.
- setAuxEffectInfo(AuxEffectInfo) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
- setAuxEffectInfo(AuxEffectInfo) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
-
- setAuxEffectInfo(AuxEffectInfo) - Method in interface com.google.android.exoplayer2.Player.AudioComponent
-
Sets information on an auxiliary audio effect to attach to the underlying audio track.
- setAuxEffectInfo(AuxEffectInfo) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setBackBuffer(int, boolean) - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
-
Sets the back buffer duration, and whether the back buffer is retained from the previous
keyframe.
- setBackgroundColor(int) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- setBadgeIconType(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Sets the badge icon type of the notification.
- setBandwidthMeter(BandwidthMeter) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
-
- setBandwidthMeter(BandwidthMeter) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
-
- setBandwidthMeter(BandwidthMeter) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
-
- setBold(boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- setBottomPaddingFraction(float) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Sets the bottom padding fraction to apply when
Cue.line is
Cue.DIMEN_UNSET,
as a fraction of the view's remaining height after its top and bottom padding have been
subtracted.
- setBuffer(float[], int) - Method in class com.google.android.exoplayer2.util.GlUtil.Attribute
-
- setBufferDurationsMs(int, int, int, int) - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
-
Sets the buffer duration parameters.
- setBufferDurationsMs(int, int, int, int) - Method in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
-
Sets the buffer duration parameters.
- setBufferedColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Sets the color for the portion of the time bar after the current played position up to the
current buffered position.
- setBufferedPosition(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- setBufferedPosition(long) - Method in interface com.google.android.exoplayer2.ui.TimeBar
-
Sets the buffered position.
- setCameraMotionListener(CameraMotionListener) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Sets a listener of camera motion events.
- setCameraMotionListener(CameraMotionListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setCaptionCallback(MediaSessionConnector.CaptionCallback) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
- setClock(Clock) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
-
Sets the
Clock that will be used by the player.
- setClock(Clock) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
-
Sets the
Clock that will be used by the player.
- setClock(Clock) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
-
Sets the
Clock to be used by the test runner.
- setClock(Clock) - Method in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
-
Set the clock to use.
- setClock(Clock) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
-
Sets the clock used to estimate bandwidth from data transfers.
- setColor(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Sets the accent color of the notification.
- setColorized(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Sets whether the notification should be colorized.
- setCompanionSlots(Collection<CompanionAdSlot>) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- setCompositeSequenceableLoaderFactory(CompositeSequenceableLoaderFactory) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
-
Sets the factory to create composite
SequenceableLoaders for when this media source
loads data from multiple streams (video, audio etc...).
- setCompositeSequenceableLoaderFactory(CompositeSequenceableLoaderFactory) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
-
Sets the factory to create composite
SequenceableLoaders for when this media source
loads data from multiple streams (video, audio etc...).
- setCompositeSequenceableLoaderFactory(CompositeSequenceableLoaderFactory) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
-
Sets the factory to create composite
SequenceableLoaders for when this media source
loads data from multiple streams (video, audio etc.).
- setConstantBitrateSeekingEnabled(boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
-
Convenience method to set whether approximate seeking using constant bitrate assumptions should
be enabled for all extractors that support it.
- setContent(long, Subtitle, long) - Method in class com.google.android.exoplayer2.text.SubtitleOutputBuffer
-
Sets the content of the output buffer, consisting of a
Subtitle and associated
metadata.
- setContentLength(ContentMetadataMutations, long) - Static method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
-
- setContentType(int) - Method in class com.google.android.exoplayer2.audio.AudioAttributes.Builder
-
- setContentTypePredicate(Predicate<String>) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
- setContentTypePredicate(Predicate<String>) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
-
- setContentTypePredicate(Predicate<String>) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- setContinueLoadingCheckIntervalBytes(int) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
-
Deprecated.
- setContinueLoadingCheckIntervalBytes(int) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
-
- setControlDispatcher(ControlDispatcher) - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
-
- setControlDispatcher(ControlDispatcher) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
- setControlDispatcher(ControlDispatcher) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
- setControlDispatcher(ControlDispatcher) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
- setControlDispatcher(ControlDispatcher) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- setControllerAutoShow(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets whether the playback controls are automatically shown when playback starts, pauses, ends,
or fails.
- setControllerHideDuringAds(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets whether the playback controls are hidden when ads are playing.
- setControllerHideOnTouch(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets whether the playback controls are hidden by touch events.
- setControllerShowTimeoutMs(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets the playback controls timeout.
- setControllerVisibilityListener(PlayerControlView.VisibilityListener) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- setCsdBuffers(MediaFormat, List<byte[]>) - Static method in class com.google.android.exoplayer2.mediacodec.MediaFormatUtil
-
- setCues(List<Cue>) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Sets the cues to be displayed by the view.
- setCurrentStreamFinal() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- setCurrentStreamFinal() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- setCurrentStreamFinal() - Method in interface com.google.android.exoplayer2.Renderer
-
Signals to the renderer that the current
SampleStream will be the final one supplied
before it is next disabled or reset.
- setCustomActionProviders(MediaSessionConnector.CustomActionProvider...) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
Sets custom action providers.
- setCustomCacheKey(String) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
-
Deprecated.
Sets the custom key that uniquely identifies the original stream.
- setCustomCacheKey(String) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
-
Sets the custom key that uniquely identifies the original stream.
- setCustomErrorMessage(CharSequence) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
Sets a custom error on the session.
- setCustomErrorMessage(CharSequence, int) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
Sets a custom error on the session.
- setCustomErrorMessage(CharSequence, int, Bundle) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
Sets a custom error on the session.
- setCustomErrorMessage(CharSequence) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets a custom error message to be displayed by the view.
- setData(String, byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
-
Sets the given data for the given uri.
- setData(Uri, byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
-
Sets the given data for the given uri.
- setData(byte[]) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput.Builder
-
- setDecoderOutputMode(int) - Method in class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
-
- setDecoderOutputMode(int) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
-
- setDecoderOutputMode(int) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Sets output mode of the decoder.
- setDefaultArtwork(Bitmap) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- setDefaultArtwork(Drawable) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets the default artwork to display if useArtwork is true and no artwork is
present in the media.
- setDefaultRequestProperty(String, String) - Method in class com.google.android.exoplayer2.upstream.HttpDataSource.BaseFactory
-
- setDefaultRequestProperty(String, String) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource.Factory
-
- setDefaults(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Sets the defaults.
- setDefaultStereoMode(int) - Method in class com.google.android.exoplayer2.ui.spherical.SphericalGLSurfaceView
-
Sets the default stereo mode.
- setDeleteAfterDelivery(boolean) - Method in class com.google.android.exoplayer2.PlayerMessage
-
Sets whether the message will be deleted after delivery.
- setDisabledTextTrackSelectionFlags(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
- setDisabledTextTrackSelectionFlags(int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
-
Sets a bitmask of selection flags that are disabled for text track selections.
- setDiscontinuityPositionUs(long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- setDownloadingStatesToQueued() - Method in class com.google.android.exoplayer2.offline.DefaultDownloadIndex
-
- setDownloadingStatesToQueued() - Method in interface com.google.android.exoplayer2.offline.WritableDownloadIndex
-
- setDrmConfiguration(MediaItem.DrmConfiguration) - Method in class com.google.android.exoplayer2.ext.cast.MediaItem.Builder
-
- setDrmSessionManager(DrmSessionManager<?>) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
-
- setDrmSessionManager(DrmSessionManager<?>) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
-
- setDrmSessionManager(DrmSessionManager<?>) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
-
- setDrmSessionManager(DrmSessionManager<?>) - Method in interface com.google.android.exoplayer2.source.MediaSourceFactory
-
- setDrmSessionManager(DrmSessionManager<?>) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
-
- setDrmSessionManager(DrmSessionManager<?>) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
-
- setDuration(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- setDuration(long) - Method in interface com.google.android.exoplayer2.ui.TimeBar
-
Sets the duration.
- setDynamicFormatFilter(BufferSizeAdaptationBuilder.DynamicFormatFilter) - Method in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
-
- setEnabled(boolean) - Method in class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
-
Sets whether to skip silence in the input.
- setEnabled(boolean) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- setEnabled(boolean) - Method in interface com.google.android.exoplayer2.ui.TimeBar
-
- setEnableDecoderFallback(boolean) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
-
Sets whether to enable fallback to lower-priority decoders if decoder initialization fails.
- setEnabledPlaybackActions(long) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
Sets the enabled playback actions.
- setEndTime(long) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
-
- setErrorMessageProvider(ErrorMessageProvider<? super ExoPlaybackException>) - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
-
- setErrorMessageProvider(ErrorMessageProvider<? super ExoPlaybackException>) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
- setErrorMessageProvider(ErrorMessageProvider<? super ExoPlaybackException>) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- setEventListener(Player.EventListener) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
-
Sets an Player.EventListener to be registered to listen to player events.
- setExceedAudioConstraintsIfNecessary(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
- setExceedRendererCapabilitiesIfNecessary(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Sets whether to exceed renderer capabilities when no selection can be made otherwise.
- setExceedVideoConstraintsIfNecessary(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
- setExpectedPlayerEndedCount(int) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
-
- setExtensionRendererMode(int) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
-
Sets the extension renderer mode, which determines if and how available extension renderers are
used.
- setExtraAdGroupMarkers(long[], boolean[]) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Sets the millisecond positions of extra ad markers relative to the start of the window (or
timeline, if in multi-window mode) and whether each extra ad has been played or not.
- setExtraAdGroupMarkers(long[], boolean[]) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets the millisecond positions of extra ad markers relative to the start of the window (or
timeline, if in multi-window mode) and whether each extra ad has been played or not.
- setExtractorFactory(HlsExtractorFactory) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
-
Sets the factory for
Extractors for the segments.
- setExtractorsFactory(ExtractorsFactory) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
-
Deprecated.
Sets the factory for
Extractors to process the media stream.
- setExtractorsFactory(ExtractorsFactory) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
-
- setFakeDataSet(FakeDataSet) - Method in class com.google.android.exoplayer2.testutil.FakeDataSource.Factory
-
- setFastForwardIncrementMs(int) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
Sets the fast forward increment in milliseconds.
- setFastForwardIncrementMs(int) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Sets the fast forward increment in milliseconds.
- setFastForwardIncrementMs(long) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Sets the fast forward increment in milliseconds.
- setFastForwardIncrementMs(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets the fast forward increment in milliseconds.
- setFirstSampleTimestampUs(long) - Method in class com.google.android.exoplayer2.util.TimestampAdjuster
-
- setFixedTextSize(int, float) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Set the text size to a given unit and value.
- setFlags(int) - Method in class com.google.android.exoplayer2.audio.AudioAttributes.Builder
-
- setFlags(int) - Method in class com.google.android.exoplayer2.decoder.Buffer
-
Replaces this buffer's flags with flags.
- setFloat(float) - Method in class com.google.android.exoplayer2.util.GlUtil.Uniform
-
- setFocusSkipButtonWhenAvailable(boolean) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
-
Sets whether to focus the skip button (when available) on Android TV devices.
- setFontColor(int) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- setFontFamily(String) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- setFontSize(float) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- setFontSizeUnit(short) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- setForceHighestSupportedBitrate(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Sets whether to force selection of the highest bitrate audio and video tracks that comply
with all other constraints.
- setForceLowestBitrate(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Sets whether to force selection of the single lowest bitrate audio and video tracks that
comply with all other constraints.
- setForegroundMode(boolean) - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Sets whether the player is allowed to keep holding limited resources such as video decoders,
even when in the idle state.
- setForegroundMode(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setForegroundMode(boolean) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- setFractionalTextSize(float) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Sets the text size to be a fraction of the view's remaining height after its top and bottom
padding have been subtracted.
- setFractionalTextSize(float, boolean) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Sets the text size to be a fraction of the height of this view.
- setFragmentedMp4ExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
-
- setFromMetadata(Metadata) - Method in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
-
Populates the holder with data parsed from ID3
Metadata.
- setFromXingHeaderValue(int) - Method in class com.google.android.exoplayer2.extractor.GaplessInfoHolder
-
Populates the holder with data from an MP3 Xing header, if valid and non-zero.
- setHandleAudioBecomingNoisy(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Sets whether the player should pause automatically when audio is rerouted from a headset to
device speakers.
- setHandler(Handler) - Method in class com.google.android.exoplayer2.PlayerMessage
-
Sets the handler the message is delivered on.
- setHandleWakeLock(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setHysteresisBufferMs(int) - Method in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
-
Sets the hysteresis buffer used to prevent repeated format switching.
- setImaSdkSettings(ImaSdkSettings) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
-
Sets the IMA SDK settings.
- setIndex(int) - Method in class com.google.android.exoplayer2.BaseRenderer
-
- setIndex(int) - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- setIndex(int) - Method in interface com.google.android.exoplayer2.Renderer
-
Sets the index of this renderer within the player.
- setInitialBitrateEstimate(long) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
-
Sets the initial bitrate estimate in bits per second that should be assumed when a bandwidth
estimate is unavailable.
- setInitialBitrateEstimate(int, long) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
-
Sets the initial bitrate estimate in bits per second that should be assumed when a bandwidth
estimate is unavailable and the current network connection is of the specified type.
- setInitialBitrateEstimate(String) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
-
Sets the initial bitrate estimates to the default values of the specified country.
- setInitialInputBufferSize(int) - Method in class com.google.android.exoplayer2.decoder.SimpleDecoder
-
Sets the initial size of each input buffer.
- setIsDisabled(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
-
Sets whether the selection is initially shown as disabled.
- setIsNetwork(boolean) - Method in class com.google.android.exoplayer2.testutil.FakeDataSource.Factory
-
- setItalic(boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- setKeepContentOnPlayerReset(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets whether the currently displayed video frame or media artwork is kept visible when the
player is reset.
- setKeyCountIncrement(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- setKeyCountIncrement(int) - Method in interface com.google.android.exoplayer2.ui.TimeBar
-
Sets the position increment for key presses and accessibility actions, as a number of
increments that divide the duration of the media.
- setKeyRequestParameters(Map<String, String>) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager.Builder
-
- setKeyRequestProperty(String, String) - Method in class com.google.android.exoplayer2.drm.HttpMediaDrmCallback
-
Sets a header for key requests made by the callback.
- setKeyTimeIncrement(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- setKeyTimeIncrement(long) - Method in interface com.google.android.exoplayer2.ui.TimeBar
-
Sets the position increment for key presses and accessibility actions, in milliseconds.
- setLibraries(String...) - Static method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegLibrary
-
Override the names of the FFmpeg native libraries.
- setLibraries(String...) - Static method in class com.google.android.exoplayer2.ext.flac.FlacLibrary
-
Override the names of the Flac native libraries.
- setLibraries(Class<? extends ExoMediaCrypto>, String...) - Static method in class com.google.android.exoplayer2.ext.opus.OpusLibrary
-
Override the names of the Opus native libraries.
- setLibraries(Class<? extends ExoMediaCrypto>, String...) - Static method in class com.google.android.exoplayer2.ext.vp9.VpxLibrary
-
Override the names of the Vpx native libraries.
- setLibraries(String...) - Method in class com.google.android.exoplayer2.util.LibraryLoader
-
Overrides the names of the libraries to load.
- setLimit(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Sets the limit.
- setLine(float) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
-
- setLineAnchor(int) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
-
- setLinethrough(boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- setLineType(int) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
-
- setListener(PlaybackSessionManager.Listener) - Method in class com.google.android.exoplayer2.analytics.DefaultPlaybackSessionManager
-
- setListener(PlaybackSessionManager.Listener) - Method in interface com.google.android.exoplayer2.analytics.PlaybackSessionManager
-
Sets the listener to be notified of session updates.
- setListener(AudioSink.Listener) - Method in interface com.google.android.exoplayer2.audio.AudioSink
-
Sets the listener for sink events, which should be the audio renderer.
- setListener(AudioSink.Listener) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
- setListener(AudioSink.Listener) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
-
- setListener(TransferListener) - Method in class com.google.android.exoplayer2.upstream.FileDataSource.Factory
-
- setLivePresentationDelayMs(long) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
-
- setLivePresentationDelayMs(long, boolean) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
-
Sets the duration in milliseconds by which the default start position should precede the end
of the live window for live playbacks.
- setLivePresentationDelayMs(long) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
-
Sets the duration in milliseconds by which the default start position should precede the end
of the live window for live playbacks.
- setLoadControl(LoadControl) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
-
- setLoadControl(LoadControl) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
-
- setLoadControl(LoadControl) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
-
- setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager.Builder
-
- setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
-
- setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
-
Deprecated.
- setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
-
- setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
-
- setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
-
- setLoadErrorHandlingPolicy(LoadErrorHandlingPolicy) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
-
- setLogLevel(int) - Static method in class com.google.android.exoplayer2.util.Log
-
Sets the LogLevel for ExoPlayer logcat logging.
- setLogStackTraces(boolean) - Static method in class com.google.android.exoplayer2.util.Log
-
Sets whether stack traces of
Throwables will be logged to logcat.
- setLooper(Looper) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
-
Sets the
Looper that must be used for all calls to the player and that is used to
call listeners on.
- setLooper(Looper) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
-
Sets the
Looper that must be used for all calls to the player and that is used to
call listeners on.
- setManifest(Object) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
-
- setManifestParser(ParsingLoadable.Parser<? extends DashManifest>) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
-
Sets the manifest parser to parse loaded manifest data when loading a manifest URI.
- setManifestParser(ParsingLoadable.Parser<? extends SsManifest>) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
-
Sets the manifest parser to parse loaded manifest data when loading a manifest URI.
- setMatroskaExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
-
- setMaxAudioBitrate(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Sets the maximum allowed audio bitrate.
- setMaxAudioChannelCount(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Sets the maximum allowed audio channel count.
- setMaxMediaBitrate(int) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
-
Sets the media maximum recommended bitrate for ads, in bps.
- setMaxParallelDownloads(int) - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Sets the maximum number of parallel downloads.
- setMaxVideoBitrate(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Sets the maximum allowed video bitrate.
- setMaxVideoFrameRate(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Sets the maximum allowed video frame rate.
- setMaxVideoSize(int, int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Sets the maximum allowed video width and height.
- setMaxVideoSizeSd() - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
- setMediaButtonEventHandler(MediaSessionConnector.MediaButtonEventHandler) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
- setMediaCodecSelector(MediaCodecSelector) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
-
- setMediaLoadTimeoutMs(int) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
-
Sets the ad media load timeout, in milliseconds.
- setMediaMetadataProvider(MediaSessionConnector.MediaMetadataProvider) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
Sets a provider of metadata to be published to the media session.
- setMediaSessionToken(MediaSessionCompat.Token) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Sets the MediaSessionCompat.Token.
- setMediaSource(MediaSource) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
-
- setMetadataOutput(MetadataOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setMetadataType(int) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
-
- setMimeType(String) - Method in class com.google.android.exoplayer2.ext.cast.MediaItem.Builder
-
- setMinLoadableRetryCount(int) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
-
- setMinLoadableRetryCount(int) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
-
- setMinLoadableRetryCount(int) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
-
- setMinLoadableRetryCount(int) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
-
- setMinLoadableRetryCount(int) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
-
- setMinRetryCount(int) - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Sets the minimum number of times that a download will be retried.
- setMode(int, byte[]) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager
-
Sets the mode, which determines the role of sessions acquired from the instance.
- setMp3ExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
-
Sets flags for
Mp3Extractor instances created by the factory.
- setMp4ExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
-
Sets flags for
Mp4Extractor instances created by the factory.
- setMultiSession(boolean) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager.Builder
-
Sets whether this session manager is allowed to acquire multiple simultaneous sessions.
- setNetworkTypeOverride(int) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter
-
Overrides the network type.
- setNewSourceInfo(Timeline, Object) - Method in class com.google.android.exoplayer2.testutil.FakeMediaSource
-
Sets a new timeline and manifest.
- setNotification(Context, int, Notification) - Static method in class com.google.android.exoplayer2.util.NotificationUtil
-
Post a notification to be shown in the status bar.
- setNotificationListener(PlayerNotificationManager.NotificationListener) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
- setOnEventListener(ExoMediaDrm.OnEventListener<? super T>) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- setOnEventListener(ExoMediaDrm.OnEventListener<? super T>) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- setOnEventListener(ExoMediaDrm.OnEventListener<? super FrameworkMediaCrypto>) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- setOnKeyStatusChangeListener(ExoMediaDrm.OnKeyStatusChangeListener<? super T>) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- setOnKeyStatusChangeListener(ExoMediaDrm.OnKeyStatusChangeListener<? super T>) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- setOnKeyStatusChangeListener(ExoMediaDrm.OnKeyStatusChangeListener<? super FrameworkMediaCrypto>) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- setOperatingRate(float) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- setOperatingRate(float) - Method in interface com.google.android.exoplayer2.Renderer
-
Sets the operating rate of this renderer, where 1 is the default rate, 2 is twice the default
rate, 0.5 is half the default rate and so on.
- setOutputBuffer(VideoDecoderOutputBuffer) - Method in interface com.google.android.exoplayer2.video.VideoDecoderOutputBufferRenderer
-
Sets the output buffer to be rendered.
- setOutputBufferRenderer(VideoDecoderOutputBufferRenderer) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Sets output buffer renderer.
- setOutputSampleRateHz(int) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
-
Sets the sample rate for output audio, in Hertz.
- setOutputSurface(Surface) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Sets output surface.
- setOverride(DefaultTrackSelector.SelectionOverride) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
-
Sets the initial selection override to show.
- setOverrides(List<DefaultTrackSelector.SelectionOverride>) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
-
Sets the list of initial selection overrides to show.
- setParameters(DefaultTrackSelector.Parameters) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
Atomically sets the provided parameters for track selection.
- setParameters(DefaultTrackSelector.ParametersBuilder) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
Atomically sets the provided parameters for track selection.
- setPayload(Object) - Method in class com.google.android.exoplayer2.PlayerMessage
-
- setPendingOutputEndOfStream() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Notifies the renderer that output end of stream is pending and should be handled on the next
render.
- setPitch(float) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
-
Sets the playback pitch.
- setPlaybackParameters(PlaybackParameters) - Method in interface com.google.android.exoplayer2.audio.AudioSink
-
Attempts to set the playback parameters.
- setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
- setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
-
- setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- setPlaybackParameters(PlaybackParameters) - Method in interface com.google.android.exoplayer2.Player
-
Attempts to set the playback parameters.
- setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- SetPlaybackParameters(String, PlaybackParameters) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetPlaybackParameters
-
- setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a playback parameters setting action.
- setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- setPlaybackParameters(PlaybackParameters) - Method in interface com.google.android.exoplayer2.util.MediaClock
-
Attempts to set the playback parameters.
- setPlaybackParameters(PlaybackParameters) - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
-
- setPlaybackParams(PlaybackParams) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setPlaybackPreparer(PlaybackPreparer) - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
-
- setPlaybackPreparer(MediaSessionConnector.PlaybackPreparer) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
- setPlaybackPreparer(PlaybackPreparer) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
- setPlaybackPreparer(PlaybackPreparer) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
- setPlaybackPreparer(PlaybackPreparer) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- setPlayClearSamplesWithoutKeys(boolean) - Method in class com.google.android.exoplayer2.DefaultRenderersFactory
-
Sets whether renderers are permitted to play clear regions of encrypted media prior to having
obtained the keys necessary to decrypt encrypted regions of the media.
- setPlayClearSamplesWithoutKeys(boolean) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager.Builder
-
Sets whether clear samples within protected content should be played when keys for the
encrypted part of the content have yet to be loaded.
- setPlayedAdMarkerColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Sets the color for played ad markers.
- setPlayedColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Sets the color for the portion of the time bar representing media before the playback position.
- setPlayer(Player) - Method in class com.google.android.exoplayer2.analytics.AnalyticsCollector
-
Sets the player for which data will be collected.
- setPlayer(Player) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- setPlayer(Player) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
Sets the player to be connected to the media session.
- setPlayer(Player) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
-
Sets the player that will play the loaded ads.
- setPlayer(Player) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
- setPlayer(Player) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
- setPlayer(Player) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- setPlaylistParserFactory(HlsPlaylistParserFactory) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
-
Sets the factory from which playlist parsers will be obtained.
- setPlaylistTrackerFactory(HlsPlaylistTracker.Factory) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
-
- setPlayWhenReady(boolean) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- setPlayWhenReady(boolean) - Method in interface com.google.android.exoplayer2.Player
-
- setPlayWhenReady(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- SetPlayWhenReady(String, boolean) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetPlayWhenReady
-
- setPlayWhenReady(boolean) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- setPosition(int) - Method in class com.google.android.exoplayer2.extractor.VorbisBitArray
-
Sets the reading position in bits.
- setPosition(long) - Method in class com.google.android.exoplayer2.PlayerMessage
-
Sets a position in the current window at which the message will be delivered.
- setPosition(int, long) - Method in class com.google.android.exoplayer2.PlayerMessage
-
Sets a position in a window at which the message will be delivered.
- setPosition(int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
Sets the read and peek positions.
- setPosition(float) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
-
- setPosition(long) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
- setPosition(long) - Method in interface com.google.android.exoplayer2.ui.TimeBar
-
Sets the current position.
- setPosition(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Sets the current bit offset.
- setPosition(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Sets the reading offset in the array.
- setPositionAnchor(int) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
-
- setPositionUs(long) - Method in class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- setPositionUs(long) - Method in interface com.google.android.exoplayer2.text.SubtitleDecoder
-
Informs the decoder of the current playback position.
- setPreferredAudioLanguage(String) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
- setPreferredAudioLanguage(String) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
-
Sets the preferred language for audio and forced text tracks.
- setPreferredTextLanguage(String) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
- setPreferredTextLanguage(String) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
-
Sets the preferred language for text tracks.
- setPreferredTextLanguageAndRoleFlagsToCaptioningManagerSettings(Context) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
- setPreferredTextLanguageAndRoleFlagsToCaptioningManagerSettings(Context) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
-
Sets the preferred language and role flags for text tracks based on the accessibility
settings of
CaptioningManager.
- setPreferredTextRoleFlags(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
- setPreferredTextRoleFlags(int) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
-
Sets the preferred C.RoleFlags for text tracks.
- setPreparationComplete() - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
Allows the fake media period to complete preparation.
- setPrepareErrorListener(MaskingMediaPeriod.PrepareErrorListener) - Method in class com.google.android.exoplayer2.source.MaskingMediaPeriod
-
Sets a listener for preparation errors.
- setPrioritizeTimeOverSizeThresholds(boolean) - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
-
Sets whether the load control prioritizes buffer time constraints over buffer size
constraints.
- setPriority(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Sets the priority of the notification required for API 25 and lower.
- setPriorityTaskManager(PriorityTaskManager) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setProgressUpdateListener(PlayerControlView.ProgressUpdateListener) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
- setProgressUpdatingEnabled(boolean) - Method in class com.google.android.exoplayer2.ext.leanback.LeanbackPlayerAdapter
-
- setPropertyByteArray(String, byte[]) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- setPropertyByteArray(String, byte[]) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- setPropertyByteArray(String, byte[]) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- setPropertyString(String, String) - Method in class com.google.android.exoplayer2.drm.DummyExoMediaDrm
-
- setPropertyString(String, String) - Method in interface com.google.android.exoplayer2.drm.ExoMediaDrm
-
- setPropertyString(String, String) - Method in class com.google.android.exoplayer2.drm.FrameworkMediaDrm
-
- setQueueEditor(MediaSessionConnector.QueueEditor) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
- setQueueNavigator(MediaSessionConnector.QueueNavigator) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
- setRandomData(String, int) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
-
Sets random data with the given length for the given uri.
- setRandomData(Uri, int) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet
-
Sets random data with the given length for the given uri.
- setRatingCallback(MediaSessionConnector.RatingCallback) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
- setRedirectedUri(ContentMetadataMutations, Uri) - Static method in class com.google.android.exoplayer2.upstream.cache.ContentMetadataMutations
-
- SetRendererDisabled(String, int, boolean) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetRendererDisabled
-
- setRendererDisabled(int, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Sets whether the renderer at the specified index is disabled.
- setRendererDisabled(int, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- setRenderers(Renderer...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
-
Sets the
Renderers to be used by the test runner.
- setRenderersFactory(RenderersFactory) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
-
- setRepeatMode(int) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- setRepeatMode(int) - Method in interface com.google.android.exoplayer2.Player
-
- setRepeatMode(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- SetRepeatMode(String, int) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetRepeatMode
-
- setRepeatMode(int) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a repeat mode setting action.
- setRepeatMode(int) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- setRepeatToggleModes(int) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Sets which repeat toggle modes are enabled.
- setRepeatToggleModes(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets which repeat toggle modes are enabled.
- setRequestProperty(String, String) - Method in class com.google.android.exoplayer2.ext.cronet.CronetDataSource
-
- setRequestProperty(String, String) - Method in class com.google.android.exoplayer2.ext.okhttp.OkHttpDataSource
-
- setRequestProperty(String, String) - Method in class com.google.android.exoplayer2.upstream.DefaultHttpDataSource
-
- setRequestProperty(String, String) - Method in interface com.google.android.exoplayer2.upstream.HttpDataSource
-
Sets the value of a request header.
- setRequirements(Requirements) - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Sets the requirements that need to be met for downloads to progress.
- setResetOnNetworkTypeChange(boolean) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
-
Sets whether to reset if the network type changes.
- setResizeMode(int) - Method in class com.google.android.exoplayer2.ui.AspectRatioFrameLayout
-
- setResizeMode(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- setRetryPosition(long, E) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- setRetryPosition(long, E) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
Called when reading fails and the required retry position is different from the last position.
- setRetryPosition(long, E) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
- setRewindIncrementMs(int) - Method in class com.google.android.exoplayer2.ext.mediasession.MediaSessionConnector
-
Sets the rewind increment in milliseconds.
- setRewindIncrementMs(int) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Sets the rewind increment in milliseconds.
- setRewindIncrementMs(long) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Sets the rewind increment in milliseconds.
- setRewindIncrementMs(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets the rewind increment in milliseconds.
- setRotation(long, float[]) - Method in class com.google.android.exoplayer2.video.spherical.FrameRotationQueue
-
Sets a rotation for a given timestamp.
- setSampleOffsetUs(long) - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkOutput
-
Sets an offset that will be added to the timestamps (and sub-sample timestamps) of samples
subsequently written to the sample queues.
- setSampleOffsetUs(long) - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Sets an offset that will be added to the timestamps (and sub-sample timestamps) of samples that
are subsequently queued.
- setSamplerTexId(int, int) - Method in class com.google.android.exoplayer2.util.GlUtil.Uniform
-
- setSchedule(ActionSchedule) - Method in class com.google.android.exoplayer2.testutil.ExoHostedTest
-
Sets a schedule to be applied during the test.
- setScrubberColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Sets the color for the scrubber handle.
- setSeekParameters(SeekParameters) - Method in interface com.google.android.exoplayer2.ExoPlayer
-
Sets the parameters that control how seek operations are performed.
- setSeekParameters(SeekParameters) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setSeekParameters(SeekParameters) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- setSeekTargetUs(long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
-
Sets the target time in microseconds within the stream to seek to.
- setSeekToUsOffset(long) - Method in class com.google.android.exoplayer2.testutil.FakeMediaPeriod
-
- setSelectionOverride(int, TrackGroupArray, DefaultTrackSelector.SelectionOverride) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Overrides the track selection for the renderer at the specified index.
- setSelectionOverride(int, TrackGroupArray, DefaultTrackSelector.SelectionOverride) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- setSelectUndeterminedTextLanguage(boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
- setSelectUndeterminedTextLanguage(boolean) - Method in class com.google.android.exoplayer2.trackselection.TrackSelectionParameters.Builder
-
- setSessionAvailabilityListener(SessionAvailabilityListener) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
Sets a listener for updates on the cast session availability.
- setShowBuffering(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- setShowBuffering(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets whether a buffering spinner is displayed when the player is in the buffering state.
- setShowDisableOption(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
-
Sets whether an option is available for disabling the renderer.
- setShowDisableOption(boolean) - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
-
Sets whether an option is available for disabling the renderer.
- setShowMultiWindowTimeBar(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Sets whether the time bar should show all windows, as opposed to just the current one.
- setShowMultiWindowTimeBar(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets whether the time bar should show all windows, as opposed to just the current one.
- setShowShuffleButton(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Sets whether the shuffle button is shown.
- setShowShuffleButton(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets whether the shuffle button is shown.
- setShowTimeoutMs(int) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Sets the playback controls timeout.
- setShowVrButton(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Sets whether the VR button is shown.
- setShuffleModeEnabled(boolean) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- setShuffleModeEnabled(boolean) - Method in interface com.google.android.exoplayer2.Player
-
Sets whether shuffling of windows is enabled.
- setShuffleModeEnabled(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- SetShuffleModeEnabled(String, boolean) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetShuffleModeEnabled
-
- setShuffleModeEnabled(boolean) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a shuffle setting action.
- setShuffleModeEnabled(boolean) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- setShuffleOrder(ShuffleOrder) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
Sets a new shuffle order to use when shuffling the child media sources.
- setShuffleOrder(ShuffleOrder, Handler, Runnable) - Method in class com.google.android.exoplayer2.source.ConcatenatingMediaSource
-
Sets a new shuffle order to use when shuffling the child media sources.
- setShutterBackgroundColor(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets the background color of the exo_shutter view.
- setSimulateIOErrors(boolean) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput.Builder
-
- setSimulatePartialReads(boolean) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput.Builder
-
- setSimulateUnknownLength(boolean) - Method in class com.google.android.exoplayer2.testutil.FakeDataSet.FakeData
-
- setSimulateUnknownLength(boolean) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput.Builder
-
- setSingleTapListener(SingleTapListener) - Method in class com.google.android.exoplayer2.ui.spherical.SphericalGLSurfaceView
-
- setSlidingWindowMaxWeight(int) - Method in class com.google.android.exoplayer2.upstream.DefaultBandwidthMeter.Builder
-
Sets the maximum weight for the sliding window.
- setSmallIcon(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Sets the small icon of the notification which is also shown in the system status bar.
- setSpeed(float) - Method in class com.google.android.exoplayer2.audio.SonicAudioProcessor
-
Sets the playback speed.
- setStartTime(long) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
-
- setStartUpTrackSelectionParameters(float, int) - Method in class com.google.android.exoplayer2.trackselection.BufferSizeAdaptationBuilder
-
Sets track selection parameters used during the start-up phase before the selection can be made
purely on based on buffer size.
- setStatesToRemoving() - Method in class com.google.android.exoplayer2.offline.DefaultDownloadIndex
-
- setStatesToRemoving() - Method in interface com.google.android.exoplayer2.offline.WritableDownloadIndex
-
- setStopReason(int) - Method in class com.google.android.exoplayer2.offline.DefaultDownloadIndex
-
- setStopReason(String, int) - Method in class com.google.android.exoplayer2.offline.DefaultDownloadIndex
-
- setStopReason(String, int) - Method in class com.google.android.exoplayer2.offline.DownloadManager
-
Sets the stop reason for one or all downloads.
- setStopReason(int) - Method in interface com.google.android.exoplayer2.offline.WritableDownloadIndex
-
- setStopReason(String, int) - Method in interface com.google.android.exoplayer2.offline.WritableDownloadIndex
-
- setStreamKeys(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
-
- setStreamKeys(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
-
- setStreamKeys(List<StreamKey>) - Method in interface com.google.android.exoplayer2.source.MediaSourceFactory
-
Sets a list of
StreamKeys by which the manifest is filtered.
- setStreamKeys(List<StreamKey>) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
-
- setString(MediaFormat, String, String) - Static method in class com.google.android.exoplayer2.mediacodec.MediaFormatUtil
-
- setStyle(CaptionStyleCompat) - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
Sets the caption style.
- setSupportedContentTypes(int...) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- setSupportedContentTypes(int...) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
-
Sets the supported content types for ad media.
- setSupportedFormats(Format...) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
-
- setTag(Object) - Method in class com.google.android.exoplayer2.source.dash.DashMediaSource.Factory
-
- setTag(Object) - Method in class com.google.android.exoplayer2.source.ExtractorMediaSource.Factory
-
Deprecated.
- setTag(Object) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
-
- setTag(Object) - Method in class com.google.android.exoplayer2.source.ProgressiveMediaSource.Factory
-
- setTag(Object) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
-
Sets a tag for the media source which will be published in the
Timeline of the source
as
Timeline.Window#tag.
- setTag(Object) - Method in class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource.Factory
-
Sets a tag for the media source which will be published in the
Timeline of the source
as
Timeline.Window#tag.
- setTargetBufferBytes(int) - Method in class com.google.android.exoplayer2.DefaultLoadControl.Builder
-
Sets the target buffer size in bytes.
- setTargetBufferSize(int) - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
-
- setTargetClasses(String[]) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- setTargetId(String) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- setTargetTagName(String) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- setTargetVoice(String) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- setText(CharSequence) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
-
- setTextAlign(Layout.Alignment) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- setTextAlignment(int) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
-
- setTextOutput(TextOutput) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setTimeBarMinUpdateInterval(int) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Sets the minimum interval between time bar position updates.
- setTimeline(Timeline) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
-
- setTitle(String) - Method in class com.google.android.exoplayer2.ext.cast.MediaItem.Builder
-
- setTrackNameProvider(TrackNameProvider) - Method in class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
-
Sets the
TrackNameProvider used to generate the user visible name of each track and
updates the view with track names queried from the specified provider.
- setTrackNameProvider(TrackNameProvider) - Method in class com.google.android.exoplayer2.ui.TrackSelectionView
-
Sets the
TrackNameProvider used to generate the user visible name of each track and
updates the view with track names queried from the specified provider.
- setTrackSelector(TrackSelector) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
-
- setTrackSelector(TrackSelector) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
-
- setTrackSelector(DefaultTrackSelector) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner.Builder
-
- setTreatLoadErrorsAsEndOfStream(boolean) - Method in class com.google.android.exoplayer2.source.SingleSampleMediaSource.Factory
-
Sets whether load errors will be treated as end-of-stream signal (load errors will not be
propagated).
- setTsExtractorFlags(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
-
- setTsExtractorMode(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorsFactory
-
Sets the mode for
TsExtractor instances created by the factory.
- setTunnelingAudioSessionId(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Sets the audio session id to use when tunneling.
- setTunnelingAudioSessionId(int) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector
-
- setType(int) - Method in class com.google.android.exoplayer2.PlayerMessage
-
- setUnderline(boolean) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- setUnplayedColor(int) - Method in class com.google.android.exoplayer2.ui.DefaultTimeBar
-
Sets the color for the portion of the time bar after the current played position.
- setUpstreamFormatChangeListener(SampleQueue.UpstreamFormatChangedListener) - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Sets a listener to be notified of changes to the upstream format.
- setUri(String) - Method in class com.google.android.exoplayer2.ext.cast.MediaItem.Builder
-
- setUri(Uri) - Method in class com.google.android.exoplayer2.ext.cast.MediaItem.Builder
-
- setUsage(int) - Method in class com.google.android.exoplayer2.audio.AudioAttributes.Builder
-
- setUseArtwork(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets whether artwork is displayed if present in the media.
- setUseChronometer(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Sets whether the elapsed time of the media playback should be displayed.
- setUseController(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets whether the playback controls can be shown.
- setUseDrmSessionsForClearContent(int...) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager.Builder
-
Sets whether this session manager should attach
DrmSessions to the clear
sections of the media content.
- setUseLazyPreparation(boolean) - Method in class com.google.android.exoplayer2.ExoPlayer.Builder
-
Sets whether media sources should be initialized lazily.
- setUseLazyPreparation(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer.Builder
-
Sets whether media sources should be initialized lazily.
- setUseNavigationActions(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Sets whether the navigation actions should be used.
- setUseNavigationActionsInCompactView(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Sets whether navigation actions should be displayed in compact view.
- setUsePlayPauseActions(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Sets whether the play and pause actions should be used.
- setUserDefaultStyle() - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
- setUserDefaultTextSize() - Method in class com.google.android.exoplayer2.ui.SubtitleView
-
- setUseSensorRotation(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Sets whether to use the orientation sensor for rotation during spherical playbacks (if
available)
- setUseSensorRotation(boolean) - Method in class com.google.android.exoplayer2.ui.spherical.SphericalGLSurfaceView
-
Sets whether to use the orientation sensor for rotation (if available).
- setUseSessionKeys(boolean) - Method in class com.google.android.exoplayer2.source.hls.HlsMediaSource.Factory
-
Sets whether to use #EXT-X-SESSION-KEY tags provided in the master playlist.
- setUseStopAction(boolean) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Sets whether the stop action should be used.
- setUuidAndExoMediaDrmProvider(UUID, ExoMediaDrm.Provider) - Method in class com.google.android.exoplayer2.drm.DefaultDrmSessionManager.Builder
-
- setVastLoadTimeoutMs(int) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader.Builder
-
Sets the VAST load timeout, in milliseconds.
- setVersion(SQLiteDatabase, int, String, int) - Static method in class com.google.android.exoplayer2.database.VersionTable
-
Sets the version of a specified instance of a specified feature.
- setVideoComponent(Player.VideoComponent) - Method in class com.google.android.exoplayer2.ui.spherical.SphericalGLSurfaceView
-
Sets the Player.VideoComponent to use.
- setVideoDebugListener(VideoRendererEventListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setVideoDecoderOutputBufferRenderer(VideoDecoderOutputBufferRenderer) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Sets the video decoder output buffer renderer.
- setVideoDecoderOutputBufferRenderer(VideoDecoderOutputBufferRenderer) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Sets a listener to receive video frame metadata events.
- setVideoFrameMetadataListener(VideoFrameMetadataListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setVideoListener(SimpleExoPlayer.VideoListener) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setVideoScalingMode(int) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
- setVideoScalingMode(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Sets the video scaling mode.
- setVideoSurface(Surface) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Sets the
Surface onto which video will be rendered.
- setVideoSurface(Surface) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- SetVideoSurface(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.SetVideoSurface
-
- setVideoSurface() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a set video surface action.
- setVideoSurfaceHolder(SurfaceHolder) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
- setVideoSurfaceHolder(SurfaceHolder) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setVideoSurfaceView(SurfaceView) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Sets the
SurfaceView onto which video will be rendered.
- setVideoSurfaceView(SurfaceView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setVideoTextureView(TextureView) - Method in interface com.google.android.exoplayer2.Player.VideoComponent
-
Sets the
TextureView onto which video will be rendered.
- setVideoTextureView(TextureView) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setViewportSize(int, int, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
Sets the viewport size to constrain adaptive video selections so that only tracks suitable
for the viewport are selected.
- setViewportSizeToPhysicalDisplaySize(Context, boolean) - Method in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.ParametersBuilder
-
- setVisibility(int) - Method in class com.google.android.exoplayer2.ui.PlayerNotificationManager
-
Sets the visibility of the notification which determines whether and how the notification is
shown when the device is in lock screen mode.
- setVisibility(int) - Method in class com.google.android.exoplayer2.ui.PlayerView
-
- setVolume(float) - Method in interface com.google.android.exoplayer2.audio.AudioSink
-
Sets the playback volume.
- setVolume(float) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
- setVolume(float) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
-
- setVolume(float) - Method in interface com.google.android.exoplayer2.Player.AudioComponent
-
Sets the audio volume, with 0 being silence and 1 being unity gain.
- setVolume(float) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- setVrButtonListener(View.OnClickListener) - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Sets listener for the VR button.
- setWakeMode(int) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
Sets how the player should keep the device awake for playback when the screen is off.
- setWidth(float) - Method in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
-
- shouldContinueLoading(long, float) - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
- shouldContinueLoading(long, float) - Method in interface com.google.android.exoplayer2.LoadControl
-
Called by the player to determine whether it should continue to load the source.
- shouldDispatchCreateOrReleaseEvent(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.CompositeMediaSource
-
Returns whether MediaSourceEventListener#onMediaPeriodCreated(int, MediaPeriodId) and
MediaSourceEventListener#onMediaPeriodReleased(int, MediaPeriodId) events of the given
media period should be reported.
- shouldDispatchCreateOrReleaseEvent(MediaSource.MediaPeriodId) - Method in class com.google.android.exoplayer2.source.MaskingMediaSource
-
- shouldDropBuffersToKeyframe(long, long, boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
Returns whether to drop all buffers from the buffer being processed to the keyframe at or after
the current playback position, if possible.
- shouldDropBuffersToKeyframe(long, long) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Returns whether to drop all buffers from the buffer being processed to the keyframe at or after
the current playback position, if possible.
- shouldDropOutputBuffer(long, long, boolean) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
Returns whether the buffer being processed should be dropped.
- shouldDropOutputBuffer(long, long) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Returns whether the buffer being processed should be dropped.
- shouldEvaluateQueueSize(long) - Method in class com.google.android.exoplayer2.trackselection.AdaptiveTrackSelection
-
- shouldForceRenderOutputBuffer(long, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
Returns whether to force rendering an output buffer.
- shouldForceRenderOutputBuffer(long, long) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Returns whether to force rendering an output buffer.
- shouldInitCodec(MediaCodecInfo) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- shouldInitCodec(MediaCodecInfo) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- shouldStartPlayback(long, float, boolean) - Method in class com.google.android.exoplayer2.DefaultLoadControl
-
- shouldStartPlayback(long, float, boolean) - Method in interface com.google.android.exoplayer2.LoadControl
-
Called repeatedly by the player when it's loading the source, has yet to start playback, and
has the minimum amount of data necessary for playback to be started.
- show() - Method in class com.google.android.exoplayer2.ui.PlayerControlView
-
Shows the playback controls.
- SHOW_BUFFERING_ALWAYS - Static variable in class com.google.android.exoplayer2.ui.PlayerView
-
The buffering view is always shown when the player is in the
buffering state.
- SHOW_BUFFERING_NEVER - Static variable in class com.google.android.exoplayer2.ui.PlayerView
-
The buffering view is never shown.
- SHOW_BUFFERING_WHEN_PLAYING - Static variable in class com.google.android.exoplayer2.ui.PlayerView
-
- showController() - Method in class com.google.android.exoplayer2.ui.PlayerView
-
Shows the playback controls.
- ShuffleOrder - Interface in com.google.android.exoplayer2.source
-
Shuffled order of indices.
- ShuffleOrder.DefaultShuffleOrder - Class in com.google.android.exoplayer2.source
-
The default
ShuffleOrder implementation for random shuffle order.
- ShuffleOrder.UnshuffledShuffleOrder - Class in com.google.android.exoplayer2.source
-
- SilenceMediaSource - Class in com.google.android.exoplayer2.source
-
Media source with a single period consisting of silent raw audio of a given duration.
- SilenceMediaSource(long) - Constructor for class com.google.android.exoplayer2.source.SilenceMediaSource
-
Creates a new media source providing silent audio of the given duration.
- SilenceSkippingAudioProcessor - Class in com.google.android.exoplayer2.audio
-
- SilenceSkippingAudioProcessor() - Constructor for class com.google.android.exoplayer2.audio.SilenceSkippingAudioProcessor
-
Creates a new silence trimming audio processor.
- SimpleCache - Class in com.google.android.exoplayer2.upstream.cache
-
A
Cache implementation that maintains an in-memory representation.
- SimpleCache(File, CacheEvictor) - Constructor for class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- SimpleCache(File, CacheEvictor, byte[]) - Constructor for class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- SimpleCache(File, CacheEvictor, byte[], boolean) - Constructor for class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- SimpleCache(File, CacheEvictor, DatabaseProvider) - Constructor for class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
Constructs the cache.
- SimpleCache(File, CacheEvictor, DatabaseProvider, byte[], boolean, boolean) - Constructor for class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
Constructs the cache.
- SimpleDecoder<I extends DecoderInputBuffer,O extends OutputBuffer,E extends Exception> - Class in com.google.android.exoplayer2.decoder
-
Base class for
Decoders that use their own decode thread.
- SimpleDecoder(I[], O[]) - Constructor for class com.google.android.exoplayer2.decoder.SimpleDecoder
-
- SimpleDecoderAudioRenderer - Class in com.google.android.exoplayer2.audio
-
- SimpleDecoderAudioRenderer() - Constructor for class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- SimpleDecoderAudioRenderer(Handler, AudioRendererEventListener, AudioProcessor...) - Constructor for class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- SimpleDecoderAudioRenderer(Handler, AudioRendererEventListener, AudioCapabilities) - Constructor for class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- SimpleDecoderAudioRenderer(Handler, AudioRendererEventListener, AudioCapabilities, DrmSessionManager<ExoMediaCrypto>, boolean, AudioProcessor...) - Constructor for class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- SimpleDecoderAudioRenderer(Handler, AudioRendererEventListener, DrmSessionManager<ExoMediaCrypto>, boolean, AudioSink) - Constructor for class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- SimpleDecoderVideoRenderer - Class in com.google.android.exoplayer2.video
-
- SimpleDecoderVideoRenderer(long, Handler, VideoRendererEventListener, int, DrmSessionManager<ExoMediaCrypto>, boolean) - Constructor for class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
- SimpleExoPlayer - Class in com.google.android.exoplayer2
-
- SimpleExoPlayer(Context, RenderersFactory, TrackSelector, LoadControl, BandwidthMeter, AnalyticsCollector, Clock, Looper) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer
-
- SimpleExoPlayer(Context, RenderersFactory, TrackSelector, LoadControl, DrmSessionManager<FrameworkMediaCrypto>, BandwidthMeter, AnalyticsCollector, Clock, Looper) - Constructor for class com.google.android.exoplayer2.SimpleExoPlayer
-
- SimpleExoPlayer.Builder - Class in com.google.android.exoplayer2
-
- SimpleExoPlayer.VideoListener - Interface in com.google.android.exoplayer2
-
- SimpleExoPlayerView - Class in com.google.android.exoplayer2.ui
-
- SimpleExoPlayerView(Context) - Constructor for class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
Deprecated.
- SimpleExoPlayerView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
Deprecated.
- SimpleExoPlayerView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
Deprecated.
- SimpleOutputBuffer - Class in com.google.android.exoplayer2.decoder
-
- SimpleOutputBuffer(SimpleDecoder<?, SimpleOutputBuffer, ?>) - Constructor for class com.google.android.exoplayer2.decoder.SimpleOutputBuffer
-
- SimpleSubtitleDecoder - Class in com.google.android.exoplayer2.text
-
Base class for subtitle parsers that use their own decode thread.
- SimpleSubtitleDecoder(String) - Constructor for class com.google.android.exoplayer2.text.SimpleSubtitleDecoder
-
- SimulatedIOException(String) - Constructor for exception com.google.android.exoplayer2.testutil.FakeExtractorInput.SimulatedIOException
-
- SINGLE_WINDOW_UID - Static variable in class com.google.android.exoplayer2.Timeline.Window
-
- singleMesh - Variable in class com.google.android.exoplayer2.video.spherical.Projection
-
Whether the left and right mesh are identical.
- SinglePeriodAdTimeline - Class in com.google.android.exoplayer2.source.ads
-
- SinglePeriodAdTimeline(Timeline, AdPlaybackState) - Constructor for class com.google.android.exoplayer2.source.ads.SinglePeriodAdTimeline
-
Creates a new timeline with a single period containing ads.
- SinglePeriodTimeline - Class in com.google.android.exoplayer2.source
-
A
Timeline consisting of a single period and static window.
- SinglePeriodTimeline(long, boolean, boolean, boolean) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
Creates a timeline containing a single period and a window that spans it.
- SinglePeriodTimeline(long, boolean, boolean, boolean, Object, Object) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
Creates a timeline containing a single period and a window that spans it.
- SinglePeriodTimeline(long, long, long, long, boolean, boolean, boolean, Object, Object) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
Creates a timeline with one period, and a window of known duration starting at a specified
position in the period.
- SinglePeriodTimeline(long, long, long, long, long, long, boolean, boolean, boolean, Object, Object) - Constructor for class com.google.android.exoplayer2.source.SinglePeriodTimeline
-
Creates a timeline with one period, and a window of known duration starting at a specified
position in the period.
- SingleSampleMediaChunk - Class in com.google.android.exoplayer2.source.chunk
-
- SingleSampleMediaChunk(DataSource, DataSpec, Format, int, Object, long, long, long, int, Format) - Constructor for class com.google.android.exoplayer2.source.chunk.SingleSampleMediaChunk
-
- SingleSampleMediaSource - Class in com.google.android.exoplayer2.source
-
Loads data at a given
Uri as a single sample belonging to a single
MediaPeriod.
- SingleSampleMediaSource(Uri, DataSource.Factory, Format, long) - Constructor for class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- SingleSampleMediaSource(Uri, DataSource.Factory, Format, long, int) - Constructor for class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- SingleSampleMediaSource(Uri, DataSource.Factory, Format, long, int, Handler, SingleSampleMediaSource.EventListener, int, boolean) - Constructor for class com.google.android.exoplayer2.source.SingleSampleMediaSource
-
- SingleSampleMediaSource.EventListener - Interface in com.google.android.exoplayer2.source
-
- SingleSampleMediaSource.Factory - Class in com.google.android.exoplayer2.source
-
- SingleSegmentBase(RangedUri, long, long, long, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SingleSegmentBase
-
- SingleSegmentBase() - Constructor for class com.google.android.exoplayer2.source.dash.manifest.SegmentBase.SingleSegmentBase
-
- SingleSegmentRepresentation(long, Format, String, SegmentBase.SingleSegmentBase, List<Descriptor>, String, long) - Constructor for class com.google.android.exoplayer2.source.dash.manifest.Representation.SingleSegmentRepresentation
-
- SingleTapListener - Interface in com.google.android.exoplayer2.ui.spherical
-
Listens tap events on a
View.
- size - Variable in class com.google.android.exoplayer2.text.Cue
-
The size of the cue box in the writing direction specified as a fraction of the viewport size
in that direction, or
Cue.DIMEN_UNSET.
- size() - Method in class com.google.android.exoplayer2.util.LongArray
-
Returns the current size of the array.
- size() - Method in class com.google.android.exoplayer2.util.TimedValueQueue
-
Returns number of the values buffered.
- sizes - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
-
The chunk sizes, in bytes.
- skip(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- skip(int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
- skip(int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
- skipBit() - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Skips a single bit.
- skipBit() - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Skips a single bit.
- skipBits(int) - Method in class com.google.android.exoplayer2.extractor.VorbisBitArray
-
Skips numberOfBits bits.
- skipBits(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Skips bits and moves current reading position forward.
- skipBits(int) - Method in class com.google.android.exoplayer2.util.ParsableNalUnitBitArray
-
Skips bits and moves current reading position forward.
- skipBytes(int) - Method in class com.google.android.exoplayer2.util.ParsableBitArray
-
Skips the next length bytes.
- skipBytes(int) - Method in class com.google.android.exoplayer2.util.ParsableByteArray
-
Moves the reading offset by bytes.
- skipData(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream.EmbeddedSampleStream
-
- skipData(long) - Method in class com.google.android.exoplayer2.source.chunk.ChunkSampleStream
-
- skipData(long) - Method in class com.google.android.exoplayer2.source.EmptySampleStream
-
- skipData(long) - Method in interface com.google.android.exoplayer2.source.SampleStream
-
Attempts to skip to the keyframe before the specified position, or to the end of the stream if
positionUs is beyond it.
- skipData(long) - Method in class com.google.android.exoplayer2.testutil.FakeSampleStream
-
- skipFully(int, boolean) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- skipFully(int) - Method in class com.google.android.exoplayer2.extractor.DefaultExtractorInput
-
- skipFully(int, boolean) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
- skipFully(int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorInput
-
- skipFully(int, boolean) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
- skipFully(int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorInput
-
- skipInputUntilPosition(ExtractorInput, long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
-
- skipOutputBuffer(MediaCodec, int, long) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
Skips the output buffer with the specified index.
- skipOutputBuffer(VideoDecoderOutputBuffer) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Skips the specified output buffer and releases it.
- skippedInputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The number of skipped input buffers.
- skippedOutputBufferCount - Variable in class com.google.android.exoplayer2.decoder.DecoderCounters
-
The number of skipped output buffers.
- skippedOutputBufferCount - Variable in class com.google.android.exoplayer2.decoder.OutputBuffer
-
The number of buffers immediately prior to this one that were skipped in the
Decoder.
- skipSilence - Variable in class com.google.android.exoplayer2.PlaybackParameters
-
Whether to skip silence in the input.
- skipSource(long) - Method in class com.google.android.exoplayer2.BaseRenderer
-
Attempts to skip to the keyframe before the specified position, or to the end of the stream if
positionUs is beyond it.
- sleep(long) - Method in class com.google.android.exoplayer2.testutil.FakeClock
-
- sleep(long) - Method in interface com.google.android.exoplayer2.util.Clock
-
- SlidingPercentile - Class in com.google.android.exoplayer2.util
-
Calculate any percentile over a sliding window of weighted values.
- SlidingPercentile(int) - Constructor for class com.google.android.exoplayer2.util.SlidingPercentile
-
- sneakyThrow(Throwable) - Static method in class com.google.android.exoplayer2.util.Util
-
A hacky method that always throws t even if t is a checked exception,
and is not declared to be thrown.
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.ext.flac.FlacExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.amr.AmrExtractor
-
- sniff(ExtractorInput) - Method in interface com.google.android.exoplayer2.extractor.Extractor
-
Returns whether this extractor can extract samples from the
ExtractorInput, which must
provide data from the start of the stream.
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.flac.FlacExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.flv.FlvExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mp3.Mp3Extractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mp4.FragmentedMp4Extractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.mp4.Mp4Extractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ogg.OggExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.rawcc.RawCcExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.Ac3Extractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.Ac4Extractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.AdtsExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.PsExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.extractor.wav.WavExtractor
-
- sniff(ExtractorInput) - Method in class com.google.android.exoplayer2.source.hls.WebvttExtractor
-
- softwareOnly - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Whether the codec is software only.
- SonicAudioProcessor - Class in com.google.android.exoplayer2.audio
-
An
AudioProcessor that uses the Sonic library to modify audio speed/pitch/sample rate.
- SonicAudioProcessor() - Constructor for class com.google.android.exoplayer2.audio.SonicAudioProcessor
-
Creates a new Sonic audio processor.
- source - Variable in class com.google.android.exoplayer2.source.dash.manifest.ProgramInformation
-
Information about the original source of the media presentation.
- SOURCE_GMS - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
-
Cronet implementation from GMSCore.
- SOURCE_NATIVE - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
-
Natively bundled Cronet implementation.
- SOURCE_UNAVAILABLE - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
-
No Cronet implementation available.
- SOURCE_UNKNOWN - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
-
Other (unknown) Cronet implementation.
- SOURCE_USER_PROVIDED - Static variable in class com.google.android.exoplayer2.ext.cronet.CronetEngineWrapper
-
User-provided Cronet engine.
- sourceId(int) - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Sets a source identifier for subsequent samples.
- speed - Variable in class com.google.android.exoplayer2.PlaybackParameters
-
The factor by which playback will be sped up.
- SphericalGLSurfaceView - Class in com.google.android.exoplayer2.ui.spherical
-
Renders a GL scene in a non-VR Activity that is affected by phone orientation and touch input.
- SphericalGLSurfaceView(Context) - Constructor for class com.google.android.exoplayer2.ui.spherical.SphericalGLSurfaceView
-
- SphericalGLSurfaceView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.spherical.SphericalGLSurfaceView
-
- splice() - Method in class com.google.android.exoplayer2.source.SampleQueue
-
Indicates samples that are subsequently queued should be spliced into those already queued.
- SpliceCommand - Class in com.google.android.exoplayer2.metadata.scte35
-
Superclass for SCTE35 splice commands.
- SpliceCommand() - Constructor for class com.google.android.exoplayer2.metadata.scte35.SpliceCommand
-
- spliceEventCancelIndicator - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
-
- spliceEventCancelIndicator - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
-
- spliceEventId - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
-
The splice event id.
- spliceEventId - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceScheduleCommand.Event
-
The splice event id.
- spliceImmediateFlag - Variable in class com.google.android.exoplayer2.metadata.scte35.SpliceInsertCommand
-
Whether splicing should be done at the nearest opportunity.
- SpliceInfoDecoder - Class in com.google.android.exoplayer2.metadata.scte35
-
Decodes splice info sections and produces splice commands.
- SpliceInfoDecoder() - Constructor for class com.google.android.exoplayer2.metadata.scte35.SpliceInfoDecoder
-
- SpliceInfoSectionReader - Class in com.google.android.exoplayer2.extractor.ts
-
Parses splice info sections as defined by SCTE35.
- SpliceInfoSectionReader() - Constructor for class com.google.android.exoplayer2.extractor.ts.SpliceInfoSectionReader
-
- SpliceInsertCommand - Class in com.google.android.exoplayer2.metadata.scte35
-
Represents a splice insert command defined in SCTE35, Section 9.3.3.
- SpliceInsertCommand.ComponentSplice - Class in com.google.android.exoplayer2.metadata.scte35
-
Holds splicing information for specific splice insert command components.
- SpliceNullCommand - Class in com.google.android.exoplayer2.metadata.scte35
-
Represents a splice null command as defined in SCTE35, Section 9.3.1.
- SpliceNullCommand() - Constructor for class com.google.android.exoplayer2.metadata.scte35.SpliceNullCommand
-
- SpliceScheduleCommand - Class in com.google.android.exoplayer2.metadata.scte35
-
Represents a splice schedule command as defined in SCTE35, Section 9.3.2.
- SpliceScheduleCommand.ComponentSplice - Class in com.google.android.exoplayer2.metadata.scte35
-
Holds splicing information for specific splice schedule command components.
- SpliceScheduleCommand.Event - Class in com.google.android.exoplayer2.metadata.scte35
-
- split(String, String) - Static method in class com.google.android.exoplayer2.util.Util
-
Splits a string using value.split(regex, -1).
- splitAtFirst(String, String) - Static method in class com.google.android.exoplayer2.util.Util
-
Splits the string at the first occurrence of the delimiter regex.
- splitCodecs(String) - Static method in class com.google.android.exoplayer2.util.Util
-
Splits a codecs sequence string, as defined in RFC 6381, into individual codec strings.
- splitNalUnits(byte[]) - Static method in class com.google.android.exoplayer2.util.CodecSpecificDataUtil
-
Splits an array of NAL units.
- SpsData(int, int, int, int, int, int, float, boolean, boolean, int, int, int, boolean) - Constructor for class com.google.android.exoplayer2.util.NalUnitUtil.SpsData
-
- SsaDecoder - Class in com.google.android.exoplayer2.text.ssa
-
- SsaDecoder() - Constructor for class com.google.android.exoplayer2.text.ssa.SsaDecoder
-
- SsaDecoder(List<byte[]>) - Constructor for class com.google.android.exoplayer2.text.ssa.SsaDecoder
-
Constructs an SsaDecoder with optional format and header info.
- SsChunkSource - Interface in com.google.android.exoplayer2.source.smoothstreaming
-
- SsChunkSource.Factory - Interface in com.google.android.exoplayer2.source.smoothstreaming
-
- SsDownloader - Class in com.google.android.exoplayer2.source.smoothstreaming.offline
-
A downloader for SmoothStreaming streams.
- SsDownloader(Uri, List<StreamKey>, DownloaderConstructorHelper) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.offline.SsDownloader
-
- SsManifest - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
-
Represents a SmoothStreaming manifest.
- SsManifest(int, int, long, long, long, int, boolean, SsManifest.ProtectionElement, SsManifest.StreamElement[]) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
- SsManifest.ProtectionElement - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
-
Represents a protection element containing a single header.
- SsManifest.StreamElement - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
-
Represents a StreamIndex element.
- SsManifestParser - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
-
Parses SmoothStreaming client manifests.
- SsManifestParser() - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser
-
- SsManifestParser.MissingFieldException - Exception in com.google.android.exoplayer2.source.smoothstreaming.manifest
-
Thrown if a required field is missing.
- SsMediaSource - Class in com.google.android.exoplayer2.source.smoothstreaming
-
- SsMediaSource(SsManifest, SsChunkSource.Factory, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- SsMediaSource(SsManifest, SsChunkSource.Factory, int, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- SsMediaSource(Uri, DataSource.Factory, SsChunkSource.Factory, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- SsMediaSource(Uri, DataSource.Factory, SsChunkSource.Factory, int, long, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- SsMediaSource(Uri, DataSource.Factory, ParsingLoadable.Parser<? extends SsManifest>, SsChunkSource.Factory, int, long, Handler, MediaSourceEventListener) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.SsMediaSource
-
- SsMediaSource.Factory - Class in com.google.android.exoplayer2.source.smoothstreaming
-
- SsUtil - Class in com.google.android.exoplayer2.source.smoothstreaming.manifest
-
SmoothStreaming related utility methods.
- StandaloneMediaClock - Class in com.google.android.exoplayer2.util
-
A
MediaClock whose position advances with real time based on the playback parameters when
started.
- StandaloneMediaClock(Clock) - Constructor for class com.google.android.exoplayer2.util.StandaloneMediaClock
-
Creates a new standalone media clock using the given
Clock implementation.
- start() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- start(AdsLoader.EventListener, AdsLoader.AdViewProvider) - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- START - Static variable in class com.google.android.exoplayer2.extractor.SeekPoint
-
A
SeekPoint whose time and byte offset are both set to 0.
- start() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- start(Context, Class<? extends DownloadService>) - Static method in class com.google.android.exoplayer2.offline.DownloadService
-
Starts a download service to resume any ongoing downloads.
- start() - Method in interface com.google.android.exoplayer2.Renderer
-
- start() - Method in class com.google.android.exoplayer2.scheduler.RequirementsWatcher
-
Starts watching for changes.
- start(AdsLoader.EventListener, AdsLoader.AdViewProvider) - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
-
Starts using the ads loader for playback.
- start - Variable in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
-
The (zero based) index of the first byte of the range.
- start(Uri, MediaSourceEventListener.EventDispatcher, HlsPlaylistTracker.PrimaryPlaylistListener) - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
- start(Uri, MediaSourceEventListener.EventDispatcher, HlsPlaylistTracker.PrimaryPlaylistListener) - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
-
Starts the playlist tracker.
- start() - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
-
Starts the test runner on its own thread.
- start(boolean) - Method in class com.google.android.exoplayer2.testutil.ExoPlayerTestRunner
-
Starts the test runner on its own thread.
- start() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
Starts periodic updates of the
TextView.
- start() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
-
Starts the clock.
- startBlock(String) - Method in class com.google.android.exoplayer2.testutil.Dumper
-
- startFile(String, long, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
Obtains a cache file into which data can be written.
- startFile(String, long, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- startForeground(Context, Class<? extends DownloadService>) - Static method in class com.google.android.exoplayer2.offline.DownloadService
-
Starts the service in the foreground without adding a new download request.
- startForegroundService(Context, Intent) - Static method in class com.google.android.exoplayer2.util.Util
-
- startLoading(T, Loader.Callback<T>, int) - Method in class com.google.android.exoplayer2.upstream.Loader
-
- startMasterElement(int, long, long) - Method in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
-
Called when the start of a master element is encountered.
- startMasterElement(int, long, long) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
Called when the start of a master element is encountered.
- startMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.Period
-
The start time of the period in milliseconds.
- startOffset - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
-
- startOffsetUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
The start offset in microseconds, as defined by #EXT-X-START.
- startReadWrite(String, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
A caller should invoke this method when they require data from a given position for a given
key.
- startReadWrite(String, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- startReadWriteNonBlocking(String, long) - Method in interface com.google.android.exoplayer2.upstream.cache.Cache
-
- startReadWriteNonBlocking(String, long) - Method in class com.google.android.exoplayer2.upstream.cache.SimpleCache
-
- startTime - Variable in class com.google.android.exoplayer2.text.webvtt.WebvttCue
-
- startTimeMs - Variable in class com.google.android.exoplayer2.metadata.id3.ChapterFrame
-
- startTimeMs - Variable in class com.google.android.exoplayer2.offline.Download
-
The first time when download entry is created.
- startTimeUs - Variable in class com.google.android.exoplayer2.offline.SegmentDownloader.Segment
-
The start time of the segment in microseconds.
- startTimeUs - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
-
The start time of the media contained by the chunk, or
C.TIME_UNSET if the data
being loaded does not contain media samples.
- startTimeUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
- startWrite() - Method in class com.google.android.exoplayer2.util.AtomicFile
-
Start a new write operation on the file.
- state - Variable in class com.google.android.exoplayer2.offline.Download
-
The state of the download.
- STATE_BUFFERING - Static variable in interface com.google.android.exoplayer2.Player
-
The player is not able to immediately play from its current position.
- STATE_COMPLETED - Static variable in class com.google.android.exoplayer2.offline.Download
-
The download completed.
- STATE_DISABLED - Static variable in interface com.google.android.exoplayer2.Renderer
-
The renderer is disabled.
- STATE_DOWNLOADING - Static variable in class com.google.android.exoplayer2.offline.Download
-
The download is currently started.
- STATE_ENABLED - Static variable in interface com.google.android.exoplayer2.Renderer
-
The renderer is enabled but not started.
- STATE_ENDED - Static variable in interface com.google.android.exoplayer2.Player
-
The player has finished playing the media.
- STATE_ERROR - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
-
The session has encountered an error.
- STATE_FAILED - Static variable in class com.google.android.exoplayer2.offline.Download
-
The download failed.
- STATE_IDLE - Static variable in interface com.google.android.exoplayer2.Player
-
The player does not have any media to play.
- STATE_OPENED - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
-
The session is open, but does not have keys required for decryption.
- STATE_OPENED_WITH_KEYS - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
-
The session is open and has keys required for decryption.
- STATE_OPENING - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
-
The session is being opened.
- STATE_QUEUED - Static variable in class com.google.android.exoplayer2.offline.Download
-
The download is waiting to be started.
- STATE_READY - Static variable in interface com.google.android.exoplayer2.Player
-
The player is able to immediately play from its current position.
- STATE_RELEASED - Static variable in interface com.google.android.exoplayer2.drm.DrmSession
-
The session has been released.
- STATE_REMOVING - Static variable in class com.google.android.exoplayer2.offline.Download
-
The download is being removed.
- STATE_RESTARTING - Static variable in class com.google.android.exoplayer2.offline.Download
-
The download will restart after all downloaded data is removed.
- STATE_STARTED - Static variable in interface com.google.android.exoplayer2.Renderer
-
The renderer is started.
- STATE_STOPPED - Static variable in class com.google.android.exoplayer2.offline.Download
-
- states - Variable in class com.google.android.exoplayer2.source.ads.AdPlaybackState.AdGroup
-
The state of each ad in the ad group.
- StatsDataSource - Class in com.google.android.exoplayer2.upstream
-
DataSource wrapper which keeps track of bytes transferred, redirected uris, and response
headers.
- StatsDataSource(DataSource) - Constructor for class com.google.android.exoplayer2.upstream.StatsDataSource
-
Creates the stats data source.
- STEREO_MODE_LEFT_RIGHT - Static variable in class com.google.android.exoplayer2.C
-
Indicates Left-Right stereo layout, used with 360/3D/VR videos.
- STEREO_MODE_MONO - Static variable in class com.google.android.exoplayer2.C
-
Indicates Monoscopic stereo layout, used with 360/3D/VR videos.
- STEREO_MODE_STEREO_MESH - Static variable in class com.google.android.exoplayer2.C
-
Indicates a stereo layout where the left and right eyes have separate meshes,
used with 360/3D/VR videos.
- STEREO_MODE_TOP_BOTTOM - Static variable in class com.google.android.exoplayer2.C
-
Indicates Top-Bottom stereo layout, used with 360/3D/VR videos.
- stereoMode - Variable in class com.google.android.exoplayer2.Format
-
The stereo layout for 360/3D/VR video, or
Format.NO_VALUE if not applicable.
- stereoMode - Variable in class com.google.android.exoplayer2.video.spherical.Projection
-
The stereo mode.
- stop() - Method in class com.google.android.exoplayer2.BasePlayer
-
- stop() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- stop(boolean) - Method in class com.google.android.exoplayer2.ext.cast.CastPlayer
-
- stop() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- stop() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- stop() - Method in interface com.google.android.exoplayer2.Player
-
Stops playback without resetting the player.
- stop(boolean) - Method in interface com.google.android.exoplayer2.Player
-
Stops playback and optionally resets the player.
- stop() - Method in interface com.google.android.exoplayer2.Renderer
-
- stop() - Method in class com.google.android.exoplayer2.scheduler.RequirementsWatcher
-
Stops watching for changes.
- stop(boolean) - Method in class com.google.android.exoplayer2.SimpleExoPlayer
-
- stop() - Method in interface com.google.android.exoplayer2.source.ads.AdsLoader
-
Stops using the ads loader for playback and deregisters the event listener.
- stop() - Method in class com.google.android.exoplayer2.source.hls.playlist.DefaultHlsPlaylistTracker
-
- stop() - Method in interface com.google.android.exoplayer2.source.hls.playlist.HlsPlaylistTracker
-
Stops the playlist tracker and releases any acquired resources.
- Stop(String) - Constructor for class com.google.android.exoplayer2.testutil.Action.Stop
-
- Stop(String, boolean) - Constructor for class com.google.android.exoplayer2.testutil.Action.Stop
-
- stop() - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a stop action.
- stop(boolean) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules a stop action.
- stop(boolean) - Method in class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- stop() - Method in class com.google.android.exoplayer2.ui.DebugTextViewHelper
-
- stop() - Method in class com.google.android.exoplayer2.util.StandaloneMediaClock
-
Stops the clock.
- STOP_REASON_NONE - Static variable in class com.google.android.exoplayer2.offline.Download
-
The download isn't stopped.
- stopAd() - Method in class com.google.android.exoplayer2.ext.ima.ImaAdsLoader
-
- stopReason - Variable in class com.google.android.exoplayer2.offline.Download
-
- STREAM_INFO_BLOCK_SIZE - Static variable in class com.google.android.exoplayer2.util.FlacConstants
-
Size of the FLAC stream info block (header included) in bytes.
- STREAM_MARKER_SIZE - Static variable in class com.google.android.exoplayer2.util.FlacConstants
-
Size of the FLAC stream marker in bytes.
- STREAM_TYPE_ALARM - Static variable in class com.google.android.exoplayer2.C
-
- STREAM_TYPE_DEFAULT - Static variable in class com.google.android.exoplayer2.C
-
The default stream type used by audio renderers.
- STREAM_TYPE_DTMF - Static variable in class com.google.android.exoplayer2.C
-
- STREAM_TYPE_MUSIC - Static variable in class com.google.android.exoplayer2.C
-
- STREAM_TYPE_NOTIFICATION - Static variable in class com.google.android.exoplayer2.C
-
- STREAM_TYPE_RING - Static variable in class com.google.android.exoplayer2.C
-
- STREAM_TYPE_SYSTEM - Static variable in class com.google.android.exoplayer2.C
-
- STREAM_TYPE_TYPE0 - Static variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
-
Type 0 AC3 stream type.
- STREAM_TYPE_TYPE1 - Static variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
-
Type 1 AC3 stream type.
- STREAM_TYPE_TYPE2 - Static variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
-
Type 2 AC3 stream type.
- STREAM_TYPE_UNDEFINED - Static variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
-
Undefined AC3 stream type.
- STREAM_TYPE_USE_DEFAULT - Static variable in class com.google.android.exoplayer2.C
-
- STREAM_TYPE_VOICE_CALL - Static variable in class com.google.android.exoplayer2.C
-
- StreamElement(String, String, int, String, long, String, int, int, int, int, String, Format[], List<Long>, long) - Constructor for class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- streamElements - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest
-
The contained stream elements.
- StreamKey - Class in com.google.android.exoplayer2.offline
-
A key for a subset of media which can be separately loaded (a "stream").
- StreamKey(int, int) - Constructor for class com.google.android.exoplayer2.offline.StreamKey
-
- StreamKey(int, int, int) - Constructor for class com.google.android.exoplayer2.offline.StreamKey
-
- streamKeys - Variable in class com.google.android.exoplayer2.offline.DownloadRequest
-
Stream keys to be downloaded.
- streamType - Variable in class com.google.android.exoplayer2.audio.Ac3Util.SyncFrameInfo
-
- streamType - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.EsInfo
-
- stringElement(int, String) - Method in interface com.google.android.exoplayer2.extractor.mkv.EbmlProcessor
-
Called when a string element is encountered.
- stringElement(int, String) - Method in class com.google.android.exoplayer2.extractor.mkv.MatroskaExtractor
-
Called when a string element is encountered.
- StubExoPlayer - Class in com.google.android.exoplayer2.testutil
-
- StubExoPlayer() - Constructor for class com.google.android.exoplayer2.testutil.StubExoPlayer
-
- STYLE_BOLD - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- STYLE_BOLD_ITALIC - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- STYLE_ITALIC - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- STYLE_NORMAL - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCssStyle
-
- SubMesh(int, float[], float[], int) - Constructor for class com.google.android.exoplayer2.video.spherical.Projection.SubMesh
-
- subrange(long) - Method in class com.google.android.exoplayer2.upstream.DataSpec
-
Returns a data spec that represents a subrange of the data defined by this DataSpec.
- subrange(long, long) - Method in class com.google.android.exoplayer2.upstream.DataSpec
-
Returns a data spec that represents a subrange of the data defined by this DataSpec.
- SubripDecoder - Class in com.google.android.exoplayer2.text.subrip
-
- SubripDecoder() - Constructor for class com.google.android.exoplayer2.text.subrip.SubripDecoder
-
- subsampleOffsetUs - Variable in class com.google.android.exoplayer2.Format
-
For samples that contain subsamples, this is an offset that should be added to subsample
timestamps.
- subsampleOffsetUs - Variable in class com.google.android.exoplayer2.metadata.MetadataInputBuffer
-
- subsampleOffsetUs - Variable in class com.google.android.exoplayer2.text.SubtitleInputBuffer
-
- subset(String...) - Method in class com.google.android.exoplayer2.testutil.CacheAsserts.RequestSet
-
- subset(Uri...) - Method in class com.google.android.exoplayer2.testutil.CacheAsserts.RequestSet
-
- subset(DataSpec...) - Method in class com.google.android.exoplayer2.testutil.CacheAsserts.RequestSet
-
- Subtitle - Interface in com.google.android.exoplayer2.text
-
A subtitle consisting of timed
Cues.
- SubtitleDecoder - Interface in com.google.android.exoplayer2.text
-
- SubtitleDecoderException - Exception in com.google.android.exoplayer2.text
-
Thrown when an error occurs decoding subtitle data.
- SubtitleDecoderException(String) - Constructor for exception com.google.android.exoplayer2.text.SubtitleDecoderException
-
- SubtitleDecoderException(Exception) - Constructor for exception com.google.android.exoplayer2.text.SubtitleDecoderException
-
- SubtitleDecoderException(String, Throwable) - Constructor for exception com.google.android.exoplayer2.text.SubtitleDecoderException
-
- SubtitleDecoderFactory - Interface in com.google.android.exoplayer2.text
-
- subtitleGroupId - Variable in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry.VariantInfo
-
The SUBTITLES value as defined in the EXT-X-STREAM-INF tag, or null if the SUBTITLES
attribute is not present.
- subtitleGroupId - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist.Variant
-
The subtitle rendition group referenced by this variant, or null.
- SubtitleInputBuffer - Class in com.google.android.exoplayer2.text
-
- SubtitleInputBuffer() - Constructor for class com.google.android.exoplayer2.text.SubtitleInputBuffer
-
- SubtitleOutputBuffer - Class in com.google.android.exoplayer2.text
-
- SubtitleOutputBuffer() - Constructor for class com.google.android.exoplayer2.text.SubtitleOutputBuffer
-
- subtitles - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMasterPlaylist
-
The subtitle renditions declared by the playlist.
- SubtitleView - Class in com.google.android.exoplayer2.ui
-
A view for displaying subtitle
Cues.
- SubtitleView(Context) - Constructor for class com.google.android.exoplayer2.ui.SubtitleView
-
- SubtitleView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.SubtitleView
-
- subtractWithOverflowDefault(long, long, long) - Static method in class com.google.android.exoplayer2.util.Util
-
Returns the difference between two arguments, or a third argument if the result overflows.
- subType - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- suggestedPresentationDelayMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
The
suggestedPresentationDelay value in milliseconds, or
C.TIME_UNSET if not
present.
- supplementalData - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
- supplementalData - Variable in class com.google.android.exoplayer2.video.VideoDecoderOutputBuffer
-
- supplementalProperties - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
-
Supplemental properties in the adaptation set.
- supportsEncoding(int) - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
-
Returns whether this device supports playback of the specified audio encoding.
- supportsFormat(MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, Format) - Method in class com.google.android.exoplayer2.audio.MediaCodecAudioRenderer
-
- supportsFormat(Format) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
- supportsFormat(String) - Static method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegLibrary
-
Returns whether the underlying library supports the specified MIME type.
- supportsFormat(Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- supportsFormat(MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, Format) - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
Returns the
Capabilities for the given
Format.
- supportsFormat(Format) - Method in interface com.google.android.exoplayer2.metadata.MetadataDecoderFactory
-
- supportsFormat(Format) - Method in class com.google.android.exoplayer2.metadata.MetadataRenderer
-
- supportsFormat(Format) - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- supportsFormat(Format) - Method in interface com.google.android.exoplayer2.RendererCapabilities
-
Returns the extent to which the
Renderer supports a given format.
- supportsFormat(Format) - Method in class com.google.android.exoplayer2.testutil.FakeRenderer
-
- supportsFormat(Format) - Method in interface com.google.android.exoplayer2.text.SubtitleDecoderFactory
-
- supportsFormat(Format) - Method in class com.google.android.exoplayer2.text.TextRenderer
-
- supportsFormat(MediaCodecSelector, DrmSessionManager<FrameworkMediaCrypto>, Format) - Method in class com.google.android.exoplayer2.video.MediaCodecVideoRenderer
-
- supportsFormat(Format) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
- supportsFormat(Format) - Method in class com.google.android.exoplayer2.video.spherical.CameraMotionRenderer
-
- supportsFormatDrm(DrmSessionManager<?>, DrmInitData) - Static method in class com.google.android.exoplayer2.BaseRenderer
-
Returns whether drmSessionManager supports the specified drmInitData, or true
if drmInitData is null.
- supportsFormatInternal(DrmSessionManager<ExoMediaCrypto>, Format) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
Returns the
FormatSupport for the given
Format.
- supportsFormatInternal(DrmSessionManager<ExoMediaCrypto>, Format) - Method in class com.google.android.exoplayer2.ext.av1.Libgav1VideoRenderer
-
- supportsFormatInternal(DrmSessionManager<ExoMediaCrypto>, Format) - Method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
-
- supportsFormatInternal(DrmSessionManager<ExoMediaCrypto>, Format) - Method in class com.google.android.exoplayer2.ext.flac.LibflacAudioRenderer
-
- supportsFormatInternal(DrmSessionManager<ExoMediaCrypto>, Format) - Method in class com.google.android.exoplayer2.ext.opus.LibopusAudioRenderer
-
- supportsFormatInternal(DrmSessionManager<ExoMediaCrypto>, Format) - Method in class com.google.android.exoplayer2.ext.vp9.LibvpxVideoRenderer
-
- supportsFormatInternal(DrmSessionManager<ExoMediaCrypto>, Format) - Method in class com.google.android.exoplayer2.video.SimpleDecoderVideoRenderer
-
Returns the
Capabilities for the given
Format.
- supportsMixedMimeTypeAdaptation() - Method in class com.google.android.exoplayer2.BaseRenderer
-
- supportsMixedMimeTypeAdaptation() - Method in class com.google.android.exoplayer2.ext.ffmpeg.FfmpegAudioRenderer
-
- supportsMixedMimeTypeAdaptation() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecRenderer
-
- supportsMixedMimeTypeAdaptation() - Method in class com.google.android.exoplayer2.NoSampleRenderer
-
- supportsMixedMimeTypeAdaptation() - Method in interface com.google.android.exoplayer2.RendererCapabilities
-
Returns the extent to which the
Renderer supports adapting between supported formats
that have different MIME types.
- supportsOutput(int, int) - Method in interface com.google.android.exoplayer2.audio.AudioSink
-
Returns whether the sink supports the audio format.
- supportsOutput(int, int) - Method in class com.google.android.exoplayer2.audio.DefaultAudioSink
-
- supportsOutput(int, int) - Method in class com.google.android.exoplayer2.audio.ForwardingAudioSink
-
- supportsOutput(int, int) - Method in class com.google.android.exoplayer2.audio.SimpleDecoderAudioRenderer
-
Returns whether the sink supports the audio format.
- surfaceChanged(SurfaceHolder, int, int, int) - Method in class com.google.android.exoplayer2.testutil.HostActivity
-
- surfaceCreated(SurfaceHolder) - Method in class com.google.android.exoplayer2.testutil.HostActivity
-
- surfaceDestroyed(SurfaceHolder) - Method in class com.google.android.exoplayer2.testutil.HostActivity
-
- surfaceIdentityHashCode - Variable in exception com.google.android.exoplayer2.video.MediaCodecVideoRenderer.VideoDecoderException
-
- switchTargetView(Player, PlayerView, PlayerView) - Static method in class com.google.android.exoplayer2.ui.PlayerView
-
Switches the view targeted by a given
Player.
- switchTargetView(SimpleExoPlayer, SimpleExoPlayerView, SimpleExoPlayerView) - Static method in class com.google.android.exoplayer2.ui.SimpleExoPlayerView
-
- TABLE_PREFIX - Static variable in interface com.google.android.exoplayer2.database.DatabaseProvider
-
Prefix for tables that can be read and written by ExoPlayer components.
- TAG - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
-
A tag to use when logging library information.
- TAG - Static variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
- tag - Variable in class com.google.android.exoplayer2.testutil.ExoHostedTest
-
- tag - Variable in class com.google.android.exoplayer2.Timeline.Window
-
A tag for the window.
- tags - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsPlaylist
-
The list of tags in the playlist.
- targetDurationUs - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist
-
The target duration in microseconds, as defined by #EXT-X-TARGETDURATION.
- targetFoundResult(long) - Static method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
-
Returns a result to signal that the target timestamp has been found at resultBytePosition, and the seek operation can stop.
- TeeAudioProcessor - Class in com.google.android.exoplayer2.audio
-
Audio processor that outputs its input unmodified and also outputs its input to a given sink.
- TeeAudioProcessor(TeeAudioProcessor.AudioBufferSink) - Constructor for class com.google.android.exoplayer2.audio.TeeAudioProcessor
-
- TeeAudioProcessor.AudioBufferSink - Interface in com.google.android.exoplayer2.audio
-
A sink for audio buffers handled by the audio processor.
- TeeAudioProcessor.WavFileAudioBufferSink - Class in com.google.android.exoplayer2.audio
-
A sink for audio buffers that writes output audio as .wav files with a given path prefix.
- TeeDataSource - Class in com.google.android.exoplayer2.upstream
-
Tees data into a
DataSink as the data is read.
- TeeDataSource(DataSource, DataSink) - Constructor for class com.google.android.exoplayer2.upstream.TeeDataSource
-
- TestDownloadManagerListener - Class in com.google.android.exoplayer2.testutil
-
A DownloadManager.Listener for testing.
- TestDownloadManagerListener(DownloadManager, DummyMainThread) - Constructor for class com.google.android.exoplayer2.testutil.TestDownloadManagerListener
-
- TestDownloadManagerListener(DownloadManager, DummyMainThread, int) - Constructor for class com.google.android.exoplayer2.testutil.TestDownloadManagerListener
-
- TestUtil - Class in com.google.android.exoplayer2.testutil
-
Utility methods for tests.
- text - Variable in class com.google.android.exoplayer2.metadata.id3.CommentFrame
-
- text - Variable in class com.google.android.exoplayer2.metadata.id3.InternalFrame
-
- text - Variable in class com.google.android.exoplayer2.text.Cue
-
The cue text, or null if this is an image cue.
- TEXT_ALIGNMENT_CENTER - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
-
- TEXT_ALIGNMENT_END - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
-
- TEXT_ALIGNMENT_LEFT - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
-
- TEXT_ALIGNMENT_RIGHT - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
-
- TEXT_ALIGNMENT_START - Static variable in class com.google.android.exoplayer2.text.webvtt.WebvttCue.Builder
-
- TEXT_SIZE_TYPE_ABSOLUTE - Static variable in class com.google.android.exoplayer2.text.Cue
-
Text size is measured in number of pixels.
- TEXT_SIZE_TYPE_FRACTIONAL - Static variable in class com.google.android.exoplayer2.text.Cue
-
Text size is measured as a fraction of the viewport size minus the view padding.
- TEXT_SIZE_TYPE_FRACTIONAL_IGNORE_PADDING - Static variable in class com.google.android.exoplayer2.text.Cue
-
Text size is measured as a fraction of the viewport size, ignoring the view padding
- TEXT_SSA - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- TEXT_VTT - Static variable in class com.google.android.exoplayer2.util.MimeTypes
-
- textAlignment - Variable in class com.google.android.exoplayer2.text.Cue
-
The alignment of the cue text within the cue box, or null if the alignment is undefined.
- TextInformationFrame - Class in com.google.android.exoplayer2.metadata.id3
-
Text information ID3 frame.
- TextInformationFrame(String, String, String) - Constructor for class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
-
- TextOutput - Interface in com.google.android.exoplayer2.text
-
Receives text output.
- TextRenderer - Class in com.google.android.exoplayer2.text
-
A renderer for text.
- TextRenderer(TextOutput, Looper) - Constructor for class com.google.android.exoplayer2.text.TextRenderer
-
- TextRenderer(TextOutput, Looper, SubtitleDecoderFactory) - Constructor for class com.google.android.exoplayer2.text.TextRenderer
-
- textSize - Variable in class com.google.android.exoplayer2.text.Cue
-
The default text size for this cue's text, or
Cue.DIMEN_UNSET if this cue has no default
text size.
- textSizeType - Variable in class com.google.android.exoplayer2.text.Cue
-
The default text size type for this cue's text, or
Cue.TYPE_UNSET if this cue has no
default text size.
- TextTrackScore(Format, DefaultTrackSelector.Parameters, int, String) - Constructor for class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.TextTrackScore
-
- TEXTURE_COORDS_PER_VERTEX - Static variable in class com.google.android.exoplayer2.video.spherical.Projection
-
Number of position coordinates per vertex.
- textureCoords - Variable in class com.google.android.exoplayer2.video.spherical.Projection.SubMesh
-
The SubMesh texture coordinates.
- textureId - Variable in class com.google.android.exoplayer2.video.spherical.Projection.SubMesh
-
Texture ID.
- ThrowPlaybackException(String, ExoPlaybackException) - Constructor for class com.google.android.exoplayer2.testutil.Action.ThrowPlaybackException
-
- throwPlaybackException(ExoPlaybackException) - Method in class com.google.android.exoplayer2.testutil.ActionSchedule.Builder
-
Schedules to throw a playback exception on the playback thread.
- TIME_END_OF_SOURCE - Static variable in class com.google.android.exoplayer2.C
-
Special constant representing a time corresponding to the end of a source.
- TIME_UNSET - Static variable in class com.google.android.exoplayer2.C
-
Special constant representing an unset or unknown time or duration.
- TimeBar - Interface in com.google.android.exoplayer2.ui
-
Interface for time bar views that can display a playback position, buffered position, duration
and ad markers, and that have a listener for scrubbing (seeking) events.
- TimeBar.OnScrubListener - Interface in com.google.android.exoplayer2.ui
-
Listener for scrubbing events.
- TimedValueQueue<V> - Class in com.google.android.exoplayer2.util
-
A utility class to keep a queue of values with timestamps.
- TimedValueQueue() - Constructor for class com.google.android.exoplayer2.util.TimedValueQueue
-
- TimedValueQueue(int) - Constructor for class com.google.android.exoplayer2.util.TimedValueQueue
-
Creates a TimedValueBuffer with the given initial buffer size.
- timeline - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
-
Timeline at the time of the event.
- timeline - Variable in exception com.google.android.exoplayer2.IllegalSeekPositionException
-
The
Timeline in which the seek was attempted.
- timeline - Variable in class com.google.android.exoplayer2.source.ForwardingTimeline
-
- timeline - Variable in class com.google.android.exoplayer2.testutil.FakeMediaSource
-
- Timeline - Class in com.google.android.exoplayer2
-
A flexible representation of the structure of media.
- Timeline() - Constructor for class com.google.android.exoplayer2.Timeline
-
- Timeline.Period - Class in com.google.android.exoplayer2
-
Holds information about a period in a
Timeline.
- Timeline.Window - Class in com.google.android.exoplayer2
-
Holds information about a window in a
Timeline.
- TIMELINE_CHANGE_REASON_DYNAMIC - Static variable in interface com.google.android.exoplayer2.Player
-
Timeline or manifest changed as a result of an dynamic update introduced by the played media.
- TIMELINE_CHANGE_REASON_PREPARED - Static variable in interface com.google.android.exoplayer2.Player
-
Timeline and manifest changed as a result of a player initialization with new media.
- TIMELINE_CHANGE_REASON_RESET - Static variable in interface com.google.android.exoplayer2.Player
-
Timeline and manifest changed as a result of a player reset.
- TimelineAsserts - Class in com.google.android.exoplayer2.testutil
-
- TimelineQueueEditor - Class in com.google.android.exoplayer2.ext.mediasession
-
- TimelineQueueEditor(MediaControllerCompat, ConcatenatingMediaSource, TimelineQueueEditor.QueueDataAdapter, TimelineQueueEditor.MediaSourceFactory) - Constructor for class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
-
- TimelineQueueEditor(MediaControllerCompat, ConcatenatingMediaSource, TimelineQueueEditor.QueueDataAdapter, TimelineQueueEditor.MediaSourceFactory, TimelineQueueEditor.MediaDescriptionEqualityChecker) - Constructor for class com.google.android.exoplayer2.ext.mediasession.TimelineQueueEditor
-
- TimelineQueueEditor.MediaIdEqualityChecker - Class in com.google.android.exoplayer2.ext.mediasession
-
Media description comparator comparing the media IDs.
- TimelineQueueEditor.MediaSourceFactory - Interface in com.google.android.exoplayer2.ext.mediasession
-
- TimelineQueueEditor.QueueDataAdapter - Interface in com.google.android.exoplayer2.ext.mediasession
-
- TimelineQueueNavigator - Class in com.google.android.exoplayer2.ext.mediasession
-
- TimelineQueueNavigator(MediaSessionCompat) - Constructor for class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
-
- TimelineQueueNavigator(MediaSessionCompat, int) - Constructor for class com.google.android.exoplayer2.ext.mediasession.TimelineQueueNavigator
-
- TimelineWindowDefinition(int, Object) - Constructor for class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
-
- TimelineWindowDefinition(boolean, boolean, long) - Constructor for class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
-
Creates a window definition with one period.
- TimelineWindowDefinition(int, Object, boolean, boolean, long) - Constructor for class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
-
Creates a window definition.
- TimelineWindowDefinition(int, Object, boolean, boolean, long, AdPlaybackState) - Constructor for class com.google.android.exoplayer2.testutil.FakeTimeline.TimelineWindowDefinition
-
Creates a window definition with ad groups.
- TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.testutil.DummyMainThread
-
- TIMEOUT_MS - Static variable in class com.google.android.exoplayer2.testutil.MediaSourceTestRunner
-
- timescale - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
The track timescale, defined as the number of time units that pass in one second.
- timescale - Variable in class com.google.android.exoplayer2.source.dash.manifest.EventStream
-
The timescale in units per seconds, as defined in the manifest.
- timescale - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- timeShiftBufferDepthMs - Variable in class com.google.android.exoplayer2.source.dash.manifest.DashManifest
-
The
timeShiftBufferDepth value in milliseconds, or
C.TIME_UNSET if not
present.
- TimeSignalCommand - Class in com.google.android.exoplayer2.metadata.scte35
-
Represents a time signal command as defined in SCTE35, Section 9.3.4.
- TimestampAdjuster - Class in com.google.android.exoplayer2.util
-
Offsets timestamps according to an initial sample timestamp offset.
- TimestampAdjuster(long) - Constructor for class com.google.android.exoplayer2.util.TimestampAdjuster
-
- TimestampAdjusterProvider - Class in com.google.android.exoplayer2.source.hls
-
- TimestampAdjusterProvider() - Constructor for class com.google.android.exoplayer2.source.hls.TimestampAdjusterProvider
-
- timestampMs - Variable in exception com.google.android.exoplayer2.ExoPlaybackException
-
- timestampSeeker - Variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker
-
- timesUs - Variable in class com.google.android.exoplayer2.extractor.ChunkIndex
-
The start time of each chunk, in microseconds.
- timeUs - Variable in class com.google.android.exoplayer2.decoder.DecoderInputBuffer
-
The time at which the sample should be presented.
- timeUs - Variable in class com.google.android.exoplayer2.decoder.OutputBuffer
-
The presentation timestamp for the buffer, in microseconds.
- timeUs - Variable in class com.google.android.exoplayer2.extractor.SeekPoint
-
The time of the seek point, in microseconds.
- timeUsToTargetTime(long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.BinarySearchSeekMap
-
- timeUsToTargetTime(long) - Method in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.DefaultSeekTimestampConverter
-
- timeUsToTargetTime(long) - Method in interface com.google.android.exoplayer2.extractor.BinarySearchSeeker.SeekTimestampConverter
-
- title - Variable in class com.google.android.exoplayer2.ext.cast.MediaItem
-
The title of the item, or null if unspecified.
- title - Variable in class com.google.android.exoplayer2.metadata.icy.IcyInfo
-
The stream title if present and decodable, or null.
- title - Variable in class com.google.android.exoplayer2.source.dash.manifest.ProgramInformation
-
The title for the media presentation.
- title - Variable in class com.google.android.exoplayer2.source.hls.playlist.HlsMediaPlaylist.Segment
-
The human readable title of the segment.
- toArray() - Method in class com.google.android.exoplayer2.util.LongArray
-
Copies the current values into a newly allocated primitive array.
- toArray(List<Integer>) - Static method in class com.google.android.exoplayer2.util.Util
-
Converts a list of integers to a primitive array.
- toByteArray(InputStream) - Static method in class com.google.android.exoplayer2.util.Util
-
Converts the entirety of an
InputStream to a byte array.
- toleranceAfterUs - Variable in class com.google.android.exoplayer2.SeekParameters
-
The maximum time that the actual position seeked to may exceed the requested seek position, in
microseconds.
- toleranceBeforeUs - Variable in class com.google.android.exoplayer2.SeekParameters
-
The maximum time that the actual position seeked to may precede the requested seek position, in
microseconds.
- toLogString(Format) - Static method in class com.google.android.exoplayer2.Format
-
- toLong(int, int) - Static method in class com.google.android.exoplayer2.util.Util
-
Return the long that is composed of the bits of the 2 specified integers.
- toLowerInvariant(String) - Static method in class com.google.android.exoplayer2.util.Util
-
- toMediaItem(MediaQueueItem) - Method in class com.google.android.exoplayer2.ext.cast.DefaultMediaItemConverter
-
- toMediaItem(MediaQueueItem) - Method in interface com.google.android.exoplayer2.ext.cast.MediaItemConverter
-
- toMediaQueueItem(MediaItem) - Method in class com.google.android.exoplayer2.ext.cast.DefaultMediaItemConverter
-
- toMediaQueueItem(MediaItem) - Method in interface com.google.android.exoplayer2.ext.cast.MediaItemConverter
-
- toString() - Method in class com.google.android.exoplayer2.audio.AudioCapabilities
-
- toString() - Method in class com.google.android.exoplayer2.audio.AudioProcessor.AudioFormat
-
- toString() - Method in class com.google.android.exoplayer2.extractor.ChunkIndex
-
- toString() - Method in class com.google.android.exoplayer2.extractor.mp4.MdtaMetadataEntry
-
- toString() - Method in class com.google.android.exoplayer2.extractor.SeekMap.SeekPoints
-
- toString() - Method in class com.google.android.exoplayer2.extractor.SeekPoint
-
- toString() - Method in class com.google.android.exoplayer2.Format
-
- toString() - Method in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
- toString() - Method in class com.google.android.exoplayer2.metadata.emsg.EventMessage
-
- toString() - Method in class com.google.android.exoplayer2.metadata.flac.PictureFrame
-
- toString() - Method in class com.google.android.exoplayer2.metadata.flac.VorbisComment
-
- toString() - Method in class com.google.android.exoplayer2.metadata.icy.IcyHeaders
-
- toString() - Method in class com.google.android.exoplayer2.metadata.icy.IcyInfo
-
- toString() - Method in class com.google.android.exoplayer2.metadata.id3.ApicFrame
-
- toString() - Method in class com.google.android.exoplayer2.metadata.id3.CommentFrame
-
- toString() - Method in class com.google.android.exoplayer2.metadata.id3.GeobFrame
-
- toString() - Method in class com.google.android.exoplayer2.metadata.id3.Id3Frame
-
- toString() - Method in class com.google.android.exoplayer2.metadata.id3.InternalFrame
-
- toString() - Method in class com.google.android.exoplayer2.metadata.id3.PrivFrame
-
- toString() - Method in class com.google.android.exoplayer2.metadata.id3.TextInformationFrame
-
- toString() - Method in class com.google.android.exoplayer2.metadata.id3.UrlLinkFrame
-
- toString() - Method in class com.google.android.exoplayer2.metadata.Metadata
-
- toString() - Method in class com.google.android.exoplayer2.metadata.scte35.SpliceCommand
-
- toString() - Method in class com.google.android.exoplayer2.offline.DownloadRequest
-
- toString() - Method in class com.google.android.exoplayer2.offline.StreamKey
-
- toString() - Method in class com.google.android.exoplayer2.source.dash.manifest.RangedUri
-
- toString() - Method in class com.google.android.exoplayer2.source.dash.manifest.UtcTimingElement
-
- toString() - Method in class com.google.android.exoplayer2.source.hls.HlsTrackMetadataEntry
-
- toString() - Method in class com.google.android.exoplayer2.testutil.Dumper
-
- toString() - Method in class com.google.android.exoplayer2.upstream.DataSpec
-
- toString() - Method in class com.google.android.exoplayer2.video.ColorInfo
-
- totalAudioFormatBitrateTimeProduct - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The accumulated sum of all audio format bitrates, in bits per second, times the time the format
was used for playback, in milliseconds.
- totalAudioFormatTimeMs - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The total media time for which audio format data is available, in milliseconds.
- totalAudioUnderruns - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The total number of audio underruns.
- totalBandwidthBytes - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
- totalBandwidthTimeMs - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The total time for which bandwidth measurement data is available, in milliseconds.
- totalBufferedDurationMs - Variable in class com.google.android.exoplayer2.analytics.AnalyticsListener.EventTime
-
- totalDroppedFrames - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The total number of dropped video frames.
- totalInitialAudioFormatBitrate - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The total initial audio format bitrate for all playbacks, in bits per second, or
C.LENGTH_UNSET if no initial audio format data is available.
- totalInitialVideoFormatBitrate - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The total initial video format bitrate for all playbacks, in bits per second, or
C.LENGTH_UNSET if no initial video format data is available.
- totalInitialVideoFormatHeight - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The total initial video format height for all playbacks, in pixels, or
C.LENGTH_UNSET
if no initial video format data is available.
- totalPauseBufferCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The total number of times a playback has been paused while rebuffering.
- totalPauseCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The total number of times a playback has been paused.
- totalRebufferCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The total number of times a rebuffer occurred.
- totalSamples - Variable in class com.google.android.exoplayer2.util.FlacStreamMetadata
-
Total number of samples, or 0 if the value is unknown.
- totalSeekCount - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The total number of times a seek occurred.
- totalValidJoinTimeMs - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The total time spent joining the playback, in milliseconds, or
C.TIME_UNSET if no valid
join time could be determined.
- totalVideoFormatBitrateTimeMs - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The total media time for which video format bitrate data is available, in milliseconds.
- totalVideoFormatBitrateTimeProduct - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The accumulated sum of all video format bitrates, in bits per second, times the time the format
was used for playback, in milliseconds.
- totalVideoFormatHeightTimeMs - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The total media time for which video format height data is available, in milliseconds.
- totalVideoFormatHeightTimeProduct - Variable in class com.google.android.exoplayer2.analytics.PlaybackStats
-
The accumulated sum of all video format heights, in pixels, times the time the format was used
for playback, in milliseconds.
- toUnsignedLong(int) - Static method in class com.google.android.exoplayer2.util.Util
-
Converts an integer to a long by unsigned conversion.
- toUpperInvariant(String) - Static method in class com.google.android.exoplayer2.util.Util
-
- TRACE_ENABLED - Static variable in class com.google.android.exoplayer2.ExoPlayerLibraryInfo
-
Whether the library was compiled with
TraceUtil
trace enabled.
- TraceUtil - Class in com.google.android.exoplayer2.util
-
Calls through to
Trace methods on supported API levels.
- track(int, int) - Method in class com.google.android.exoplayer2.extractor.DummyExtractorOutput
-
- track(int, int) - Method in interface com.google.android.exoplayer2.extractor.ExtractorOutput
-
- Track - Class in com.google.android.exoplayer2.extractor.mp4
-
Encapsulates information describing an MP4 track.
- Track(int, int, long, long, long, Format, int, TrackEncryptionBox[], int, long[], long[]) - Constructor for class com.google.android.exoplayer2.extractor.mp4.Track
-
- track(int, int) - Method in class com.google.android.exoplayer2.source.chunk.BaseMediaChunkOutput
-
- track(int, int) - Method in class com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper
-
- track(int, int) - Method in interface com.google.android.exoplayer2.source.chunk.ChunkExtractorWrapper.TrackOutputProvider
-
- track(int, int) - Method in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
-
- Track.Transformation - Annotation Type in com.google.android.exoplayer2.extractor.mp4
-
The transformation to apply to samples in the track, if any.
- TRACK_TYPE_AUDIO - Static variable in class com.google.android.exoplayer2.C
-
A type constant for audio tracks.
- TRACK_TYPE_CAMERA_MOTION - Static variable in class com.google.android.exoplayer2.C
-
A type constant for camera motion tracks.
- TRACK_TYPE_CUSTOM_BASE - Static variable in class com.google.android.exoplayer2.C
-
Applications or extensions may define custom TRACK_TYPE_* constants greater than or
equal to this value.
- TRACK_TYPE_DEFAULT - Static variable in class com.google.android.exoplayer2.C
-
A type constant for tracks of some default type, where the type itself is unknown.
- TRACK_TYPE_METADATA - Static variable in class com.google.android.exoplayer2.C
-
A type constant for metadata tracks.
- TRACK_TYPE_NONE - Static variable in class com.google.android.exoplayer2.C
-
A type constant for a dummy or empty track.
- TRACK_TYPE_TEXT - Static variable in class com.google.android.exoplayer2.C
-
A type constant for text tracks.
- TRACK_TYPE_UNKNOWN - Static variable in class com.google.android.exoplayer2.C
-
A type constant for tracks of unknown type.
- TRACK_TYPE_VIDEO - Static variable in class com.google.android.exoplayer2.C
-
A type constant for video tracks.
- TrackEncryptionBox - Class in com.google.android.exoplayer2.extractor.mp4
-
Encapsulates information parsed from a track encryption (tenc) box or sample group description
(sgpd) box in an MP4 stream.
- TrackEncryptionBox(boolean, String, int, byte[], int, int, byte[]) - Constructor for class com.google.android.exoplayer2.extractor.mp4.TrackEncryptionBox
-
- trackEncryptionBoxes - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.ProtectionElement
-
- trackFormat - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
-
The format of the track to which this chunk belongs, or null if the chunk does not belong to
a track.
- trackFormat - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.MediaLoadData
-
The format of the track to which the data belongs.
- TrackGroup - Class in com.google.android.exoplayer2.source
-
- TrackGroup(Format...) - Constructor for class com.google.android.exoplayer2.source.TrackGroup
-
- TrackGroupArray - Class in com.google.android.exoplayer2.source
-
- TrackGroupArray(TrackGroup...) - Constructor for class com.google.android.exoplayer2.source.TrackGroupArray
-
- TrackIdGenerator(int, int) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.TrackIdGenerator
-
- TrackIdGenerator(int, int, int) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.TrackIdGenerator
-
- trackIndex - Variable in class com.google.android.exoplayer2.offline.StreamKey
-
The track index.
- TrackNameProvider - Interface in com.google.android.exoplayer2.ui
-
Converts
Formats to user readable track names.
- TrackOutput - Interface in com.google.android.exoplayer2.extractor
-
Receives track level data extracted by an
Extractor.
- TrackOutput.CryptoData - Class in com.google.android.exoplayer2.extractor
-
Holds data required to decrypt a sample.
- trackOutputs - Variable in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
-
- tracks - Variable in class com.google.android.exoplayer2.trackselection.BaseTrackSelection
-
- tracks - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.SelectionOverride
-
- tracks - Variable in class com.google.android.exoplayer2.trackselection.TrackSelection.Definition
-
- TrackSelection - Interface in com.google.android.exoplayer2.trackselection
-
A track selection consisting of a static subset of selected tracks belonging to a
TrackGroup, and a possibly varying individual selected track from the subset.
- TrackSelection.Definition - Class in com.google.android.exoplayer2.trackselection
-
Contains of a subset of selected tracks belonging to a
TrackGroup.
- TrackSelection.Factory - Interface in com.google.android.exoplayer2.trackselection
-
- TrackSelectionArray - Class in com.google.android.exoplayer2.trackselection
-
- TrackSelectionArray(TrackSelection...) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectionArray
-
- trackSelectionData - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
-
Optional data associated with the selection of the track to which this chunk belongs.
- trackSelectionData - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.MediaLoadData
-
Optional data associated with the selection of the track to which the data belongs.
- TrackSelectionDialogBuilder - Class in com.google.android.exoplayer2.ui
-
- TrackSelectionDialogBuilder(Context, CharSequence, MappingTrackSelector.MappedTrackInfo, int, TrackSelectionDialogBuilder.DialogCallback) - Constructor for class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
-
Creates a builder for a track selection dialog.
- TrackSelectionDialogBuilder(Context, CharSequence, DefaultTrackSelector, int) - Constructor for class com.google.android.exoplayer2.ui.TrackSelectionDialogBuilder
-
- TrackSelectionDialogBuilder.DialogCallback - Interface in com.google.android.exoplayer2.ui
-
Callback which is invoked when a track selection has been made.
- TrackSelectionParameters - Class in com.google.android.exoplayer2.trackselection
-
Constraint parameters for track selection.
- TrackSelectionParameters.Builder - Class in com.google.android.exoplayer2.trackselection
-
- trackSelectionReason - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
-
One of the
C SELECTION_REASON_* constants if the chunk belongs to a track.
- trackSelectionReason - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.MediaLoadData
-
One of the
C SELECTION_REASON_* constants if the data belongs to a track.
- TrackSelectionUtil - Class in com.google.android.exoplayer2.trackselection
-
Track selection related utility methods.
- TrackSelectionUtil.AdaptiveTrackSelectionFactory - Interface in com.google.android.exoplayer2.trackselection
-
Functional interface to create a single adaptive track selection.
- TrackSelectionView - Class in com.google.android.exoplayer2.ui
-
A view for making track selections.
- TrackSelectionView(Context) - Constructor for class com.google.android.exoplayer2.ui.TrackSelectionView
-
Creates a track selection view.
- TrackSelectionView(Context, AttributeSet) - Constructor for class com.google.android.exoplayer2.ui.TrackSelectionView
-
Creates a track selection view.
- TrackSelectionView(Context, AttributeSet, int) - Constructor for class com.google.android.exoplayer2.ui.TrackSelectionView
-
Creates a track selection view.
- TrackSelectionView.TrackSelectionListener - Interface in com.google.android.exoplayer2.ui
-
Listener for changes to the selected tracks.
- TrackSelector - Class in com.google.android.exoplayer2.trackselection
-
The component of an
ExoPlayer responsible for selecting tracks to be consumed by each of
the player's
Renderers.
- TrackSelector() - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelector
-
- TrackSelector.InvalidationListener - Interface in com.google.android.exoplayer2.trackselection
-
Notified when selections previously made by a
TrackSelector are no longer valid.
- TrackSelectorResult - Class in com.google.android.exoplayer2.trackselection
-
- TrackSelectorResult(RendererConfiguration[], TrackSelection[], Object) - Constructor for class com.google.android.exoplayer2.trackselection.TrackSelectorResult
-
- tracksEnded - Variable in class com.google.android.exoplayer2.testutil.FakeExtractorOutput
-
- trackType - Variable in class com.google.android.exoplayer2.source.MediaSourceEventListener.MediaLoadData
-
One of the
C TRACK_TYPE_* constants if the data corresponds to media of a
specific type.
- transferEnded() - Method in class com.google.android.exoplayer2.upstream.BaseDataSource
-
Notifies listeners that a transfer ended.
- transferInitializing(DataSpec) - Method in class com.google.android.exoplayer2.upstream.BaseDataSource
-
Notifies listeners that data transfer for the specified
DataSpec is being initialized.
- TransferListener - Interface in com.google.android.exoplayer2.upstream
-
A listener of data transfer events.
- transferStarted(DataSpec) - Method in class com.google.android.exoplayer2.upstream.BaseDataSource
-
Notifies listeners that data transfer for the specified
DataSpec started.
- TRANSFORMATION_CEA608_CDAT - Static variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
A transformation for caption samples in cdat atoms.
- TRANSFORMATION_NONE - Static variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
A no-op sample transformation.
- transformType - Variable in class com.google.android.exoplayer2.extractor.VorbisUtil.Mode
-
- trim() - Method in interface com.google.android.exoplayer2.upstream.Allocator
-
Hints to the allocator that it should make a best effort to release any excess
Allocations.
- trim() - Method in class com.google.android.exoplayer2.upstream.DefaultAllocator
-
- TRUEHD_RECHUNK_SAMPLE_COUNT - Static variable in class com.google.android.exoplayer2.audio.Ac3Util
-
The number of samples to store in each output chunk when rechunking TrueHD streams.
- TRUEHD_SYNCFRAME_PREFIX_LENGTH - Static variable in class com.google.android.exoplayer2.audio.Ac3Util
-
The number of bytes that must be parsed from a TrueHD syncframe to calculate the sample count.
- TS_PACKET_SIZE - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_AAC_ADTS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_AAC_LATM - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_AC3 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_AC4 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_DTS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_DVBSUBS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_E_AC3 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_H262 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_H264 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_H265 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_HDMV_DTS - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_ID3 - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_MPA - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_MPA_LSF - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_STREAM_TYPE_SPLICE_INFO - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TS_SYNC_BYTE - Static variable in class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TsExtractor - Class in com.google.android.exoplayer2.extractor.ts
-
Extracts data from the MPEG-2 TS container format.
- TsExtractor() - Constructor for class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TsExtractor(int) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TsExtractor(int, int) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TsExtractor(int, TimestampAdjuster, TsPayloadReader.Factory) - Constructor for class com.google.android.exoplayer2.extractor.ts.TsExtractor
-
- TsExtractor.Mode - Annotation Type in com.google.android.exoplayer2.extractor.ts
-
Modes for the extractor.
- TsPayloadReader - Interface in com.google.android.exoplayer2.extractor.ts
-
Parses TS packet payload data.
- TsPayloadReader.DvbSubtitleInfo - Class in com.google.android.exoplayer2.extractor.ts
-
Holds information about a DVB subtitle, as defined in ETSI EN 300 468 V1.11.1 section 6.2.41.
- TsPayloadReader.EsInfo - Class in com.google.android.exoplayer2.extractor.ts
-
Holds information associated with a PMT entry.
- TsPayloadReader.Factory - Interface in com.google.android.exoplayer2.extractor.ts
-
- TsPayloadReader.Flags - Annotation Type in com.google.android.exoplayer2.extractor.ts
-
Contextual flags indicating the presence of indicators in the TS packet or PES packet headers.
- TsPayloadReader.TrackIdGenerator - Class in com.google.android.exoplayer2.extractor.ts
-
- TsUtil - Class in com.google.android.exoplayer2.extractor.ts
-
Utilities method for extracting MPEG-TS streams.
- TtmlDecoder - Class in com.google.android.exoplayer2.text.ttml
-
- TtmlDecoder() - Constructor for class com.google.android.exoplayer2.text.ttml.TtmlDecoder
-
- tunneling - Variable in class com.google.android.exoplayer2.mediacodec.MediaCodecInfo
-
Whether the decoder supports tunneling.
- TUNNELING_NOT_SUPPORTED - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
-
The
Renderer does not support tunneled output.
- TUNNELING_SUPPORT_MASK - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
-
- TUNNELING_SUPPORTED - Static variable in interface com.google.android.exoplayer2.RendererCapabilities
-
- tunnelingAudioSessionId - Variable in class com.google.android.exoplayer2.RendererConfiguration
-
- tunnelingAudioSessionId - Variable in class com.google.android.exoplayer2.trackselection.DefaultTrackSelector.Parameters
-
- Tx3gDecoder - Class in com.google.android.exoplayer2.text.tx3g
-
- Tx3gDecoder(List<byte[]>) - Constructor for class com.google.android.exoplayer2.text.tx3g.Tx3gDecoder
-
- type - Variable in exception com.google.android.exoplayer2.ExoPlaybackException
-
- type - Variable in class com.google.android.exoplayer2.extractor.mp4.Track
-
- type - Variable in class com.google.android.exoplayer2.extractor.ts.TsPayloadReader.DvbSubtitleInfo
-
- type - Variable in class com.google.android.exoplayer2.offline.DownloadRequest
-
The type of the request.
- type - Variable in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
-
- type - Variable in class com.google.android.exoplayer2.source.chunk.Chunk
-
The type of the chunk.
- type - Variable in class com.google.android.exoplayer2.source.dash.manifest.AdaptationSet
-
The type of the adaptation set.
- type - Variable in class com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest.StreamElement
-
- type - Variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
-
- type - Variable in class com.google.android.exoplayer2.upstream.ParsingLoadable
-
The type of the data.
- TYPE_AD - Static variable in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
-
Type for when an ad failed to load.
- TYPE_AD_GROUP - Static variable in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
-
Type for when an ad group failed to load.
- TYPE_ALAW - Static variable in class com.google.android.exoplayer2.audio.WavUtil
-
WAVE type value for 8-bit ITU-T G.711 A-law audio data.
- TYPE_ALL_ADS - Static variable in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
-
Type for when all ad groups failed to load.
- TYPE_CLOSE - Static variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
-
- TYPE_DASH - Static variable in class com.google.android.exoplayer2.C
-
- TYPE_DASH - Static variable in class com.google.android.exoplayer2.offline.DownloadRequest
-
Type for DASH downloads.
- TYPE_FLOAT - Static variable in class com.google.android.exoplayer2.audio.WavUtil
-
WAVE type value for float PCM audio data.
- TYPE_HLS - Static variable in class com.google.android.exoplayer2.C
-
- TYPE_HLS - Static variable in class com.google.android.exoplayer2.offline.DownloadRequest
-
Type for HLS downloads.
- TYPE_IMA_ADPCM - Static variable in class com.google.android.exoplayer2.audio.WavUtil
-
WAVE type value for IMA ADPCM audio data.
- TYPE_MLAW - Static variable in class com.google.android.exoplayer2.audio.WavUtil
-
WAVE type value for 8-bit ITU-T G.711 mu-law audio data.
- TYPE_NO_TIMESTAMP - Static variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
-
The search didn't find any timestamps.
- TYPE_OPEN - Static variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
-
- TYPE_OTHER - Static variable in class com.google.android.exoplayer2.C
-
- TYPE_OUT_OF_MEMORY - Static variable in exception com.google.android.exoplayer2.ExoPlaybackException
-
- TYPE_PCM - Static variable in class com.google.android.exoplayer2.audio.WavUtil
-
WAVE type value for integer PCM audio data.
- TYPE_POSITION_OVERESTIMATED - Static variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
-
The search found only timestamps larger than the target timestamp.
- TYPE_POSITION_UNDERESTIMATED - Static variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
-
The search found only timestamps smaller than the target timestamp.
- TYPE_PROGRESSIVE - Static variable in class com.google.android.exoplayer2.offline.DownloadRequest
-
Type for progressive downloads.
- TYPE_READ - Static variable in exception com.google.android.exoplayer2.upstream.HttpDataSource.HttpDataSourceException
-
- TYPE_REMOTE - Static variable in exception com.google.android.exoplayer2.ExoPlaybackException
-
The error occurred in a remote component.
- TYPE_RENDERER - Static variable in exception com.google.android.exoplayer2.ExoPlaybackException
-
- TYPE_SOURCE - Static variable in exception com.google.android.exoplayer2.ExoPlaybackException
-
- TYPE_SS - Static variable in class com.google.android.exoplayer2.C
-
- TYPE_SS - Static variable in class com.google.android.exoplayer2.offline.DownloadRequest
-
Type for SmoothStreaming downloads.
- TYPE_TARGET_TIMESTAMP_FOUND - Static variable in class com.google.android.exoplayer2.extractor.BinarySearchSeeker.TimestampSearchResult
-
The search found a timestamp that it deems close enough to the given target.
- TYPE_UNEXPECTED - Static variable in exception com.google.android.exoplayer2.ExoPlaybackException
-
- TYPE_UNEXPECTED - Static variable in exception com.google.android.exoplayer2.source.ads.AdsMediaSource.AdLoadException
-
Type for when an unexpected error occurred while loading ads.
- TYPE_UNSET - Static variable in class com.google.android.exoplayer2.text.Cue
-
An unset anchor or line type value.
- TYPE_WAVE_FORMAT_EXTENSIBLE - Static variable in class com.google.android.exoplayer2.audio.WavUtil
-
WAVE type value for extended WAVE format.
- typeface - Variable in class com.google.android.exoplayer2.text.CaptionStyleCompat
-
The preferred typeface, or null if unspecified.
- typeIndicator - Variable in class com.google.android.exoplayer2.extractor.mp4.MdtaMetadataEntry
-
The four byte type indicator.